1 contributor
Like
Install complement as a package?
Copied
npm i @bit/justin-capalbo.ramda.complement
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example modifieddraft
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
and packages in Bit or NPM to the example. any of the 1 million componentstoggle layout
No preview available
chevron_left
chevron_right
complement (
f:
) : Function
Function
Takes a function f
and returns a function g
such that if called with the same arguments
when f
returns a “truthy” value, g
returns false
and when f
returns a “falsy” value g
returns true
.
R.complement
may be applied to any functor
Example
Argument
f:
Function
Returns
Function