es-logical-or-operator
v1.0.0
Published
|| in fp
Readme
es-logical-or-operator
Implementation of the || operator as a function (|| in fp).
Installation
npm install es-logical-or-operatoror
yarn add es-logical-or-operatorUsage
const or = require("es-logical-or-operator")
console.log(or(true, false)) // true
console.log(or(false, true)) // true
console.log(or(false, false)) // false
console.log(or(true, true)) // true
console.log(or(1, 2)) // 1
console.log(or(0, 1)) // 1License
EGPSL10X-1.0 Licensed
