Returns true if fa(x) and fb(x) are true. Same as fb(x) && fa(x).
fa(x)
fb(x)
fb(x) && fa(x)
both(isEven)(x => x === 2)(2)// => trueboth(isEven)(x => x === 2)(4)// => false Copy
both(isEven)(x => x === 2)(2)// => trueboth(isEven)(x => x === 2)(4)// => false
Generated using TypeDoc
Returns true if
fa(x)
andfb(x)
are true. Same asfb(x) && fa(x)
.