1 contributor
Like
Install bind as a package?
Copied
npm i @bit/justin-capalbo.ramda.bind
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
bind (
fn:
Function
,thisObj:
) : Object
Function
Creates a function that is bound to a context.
Note: R.bind
does not provide the additional argument-binding capabilities of
Function.prototype.bind.
Example
Arguments
fn:
Function
The function to bind to context
thisObj:
Object
The context to bind fn
to
Returns
Function
A function that will execute in the context of `thisObj`.