and overview
Added in v0.0.2
Table of contents
Operators
and
and operator
Signature
export declare const and: (a: Fn) => (b: Fn) => <A>(val: A) => boolean
Example
import { and, isEq, isNumber } from '@warungpintar/ninshu'
const isNine = and(isNumber)(isEq(9))
console.log(isNine(9))
//> true
Added in v0.0.2