carmi icon indicating copy to clipboard operation
carmi copied to clipboard

or() and and() treat null as truthy

Open tombigel opened this issue 5 years ago • 0 comments

for example

const x = null
const y = or(x, chain({})) // === null

should return the second argument

tombigel avatar May 01 '19 10:05 tombigel