Licence
MIT
Version
1.0.0
Deps
12
Size
4 kB
Vulns
0
Weekly
0
es-logical-nullish-coalescing-operator
?? in fp
const ish = require("es-logical-nullish-coalescing-operator")
console.log(ish(1, "default")) // 1
console.log(ish(null, "default")) // "default"
there are tests.