Welshman Docs / @welshman/lib / complement
Function: complement() ​
complement<
T
>(f
): (...args
) =>boolean
Defined in: packages/lib/src/Tools.ts:74
Returns a function that returns the boolean negation of the given function
Type Parameters ​
• T extends unknown
[]
Parameters ​
f ​
(...args
) => any
Returns ​
Function
Parameters ​
args ​
...T
Returns ​
boolean