Preparing search index...
The search index is not available
Welshman Docs
Welshman Docs
@welshman/lib
complement
Function complement
Returns a function that returns the boolean negation of the given function
complement
<
T
extends
unknown
[]
>
(
f
:
(
...
args
:
T
)
=>
any
)
:
(
...
args
:
T
)
=>
boolean
Type Parameters
T
extends
unknown
[]
Parameters
f
:
(
...
args
:
T
)
=>
any
Returns
(
...
args
:
T
)
=>
boolean
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Welshman Docs
Loading...
Returns a function that returns the boolean negation of the given function