1 contributor
Like
Install tap as a package?
Copied
npm i @bit/justin-capalbo.ramda.tap
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
tap (
fn:
Function
,x:
) : *
*
Runs the given function with the supplied object, then returns the object.
Acts as a transducer if a transformer is given as second parameter.
Example
Arguments
fn:
Function
The function to call with x
. The return value of fn
will be thrown away.
x:
*
Returns
*
`x`.