1 contributor
Like
Install always as a package?
Copied
npm i @bit/justin-capalbo.ramda.always
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
always (
val:
) : *
Function
Returns a function that always returns the given value. Note that for non-primitives the value returned is a reference to the original value.
This function is known as const
, constant
, or K
(for K combinator) in
other languages and libraries.
Example
Argument
val:
*
The value to wrap in a function
Returns
Function
A Function :: * -> val.