How to use the of function from ramda

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

3380
3381
3382
3383
3384
3385
3386
3387
3388
 * @sig a -> [a]
 * @param {*} x any value
 * @return {Array} An array wrapping `x`.
 * @example
 *
 *      R.of(null); //=> [null]
 *      R.of([42]); //=> [[42]]
 */
var of = _curry1(_of);
fork icon0
star icon0
watch icon0

+ 35 other calls in file

Other functions in ramda

Sorted by popularity

function icon

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