Licence
EGPSL10X-1.0
Version
1.0.0
Deps
0
Size
4 kB
Vulns
0
Weekly
0
es-logical-or-operator
Implementation of the || operator as a function (|| in fp).
Installation
npm install es-logical-or-operator
or
yarn add es-logical-or-operator
Usage
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)) // 1
License
EGPSL10X-1.0 Licensed