NOT operator for functions.
function to negate
Rest
a function that negates the result of the input function
const isEven = (n: number) => n % 2 === 0const isOdd = not(isEven)isOdd(2) // returns false Copy
const isEven = (n: number) => n % 2 === 0const isOdd = not(isEven)isOdd(2) // returns false
Generated using TypeDoc
NOT operator for functions.