eq overview
Added in v0.0.2
Table of contents
Is
isEq
check equality of the value
Signature
export declare const isEq: <A>(a: A) => (b: A) => boolean
Example
import { isEq } from '@warungpintar/ninshu'
const isTen = isEq(10)
console.log(isTen(10))
//> true
console.log(isTen(20))
//> false
Added in v0.0.2