Utils
const isEven = n => n % 2 === 0; 1, 2, 3, 4, ]);
ramda /
filter
v0.26.1
Takes a predicate and a `Filterable`, and returns a new filt...
Build: Pass
public
mit
//=> true const a = {}; const b = {};
ramda /
equals
v0.26.1
Returns `true` if its arguments are equivalent, `false` othe...
Build: Pass
public
mit
const gt10 = x => x > 10; const even = x => x % 2 === 0; const f = either(gt10, even);
ramda /
either
v0.26.1
A function wrapping calls to the two functions in an `||` op...
Build: Pass
public
mit
"a", "b", "c", "d", ]);
ramda /
adjust
v0.26.1
Applies a function to the value at the given index of an arr...
Build: Pass
public
mit
ramda /
concat
v0.26.1
Returns the result of concatenating the given lists or strin...
Build: Pass
public
mit
const diff = function(a, b) { return a - b; };
ramda /
sort
v0.26.1
Returns a copy of the list, sorted according to the comparat...
Build: Pass
public
mit
Object
const isUpperCase = (val, key) => key.toUpperCase() === key;
ramda /
pick-by
v0.26.1
Returns a partial copy of an object containing only the keys...
Build: Pass
public
mit
x => x > 0, "x", { x: 1, y: 2, },
ramda /
prop-satisfies
v0.26.1
Returns `true` if the specified object property satisfies th...
Build: Pass
public
mit
a: 1, b: 2, c: 3, });
ramda /
dissoc
v0.26.1
Returns a new object that does not contain a `prop` property...
Build: Pass
public
mit
ramda /
type
v0.26.1
Gives a single-word string description of the (native) type ...
Build: Pass
public
mit
ramda /
tail
v0.26.1
Returns all but the first element of the given list or strin...
Build: Pass
public
mit
x: 100, });
ramda /
prop
v0.26.1
Returns a function that when supplied an object returns the ...
Build: Pass
public
mit
a: 1, b: 2, c: 3, d: 4, });
ramda /
omit
v0.26.1
Returns a partial copy of an object omitting the keys specif...
Build: Pass
public
mit
const madd5 = lift( (a, b, c, d, e) => a + b + c + d + e, [1, 2], [3], [4, 5], [6], [7, 8],
ramda /
lift
v0.26.1
"lifts" a function of arity > 1 so that it may "map over" a ...
Build: Pass
public
mit