How to use the thunkify function from ramda

Find comprehensive JavaScript ramda.thunkify code examples handpicked from public code repositorys.

13507
13508
13509
13510
13511
13512
13513
13514
13515
* @return {Function} Expects arguments for `fn` and returns a new function
*  that, when called, applies those arguments to `fn`.
* @see R.partial, R.partialRight
* @example
*
*      R.thunkify(R.identity)(42)(); //=> 42
*      R.thunkify((a, b) => a + b)(25, 17)(); //=> 42
*/

fork icon0
star icon0
watch icon2

+ 7 other calls in file

Other functions in ramda

Sorted by popularity

function icon

ramda.clone is the most popular function in ramda (30311 examples)