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