We’re excited to announce Bit’s new home at bit.dev!Learn more
Utils
// The `_.matches` iteratee shorthand. filter( users, iteratee({ user: "barney", active: true })
lodash /
iteratee
v4.17.11
Creates a function that invokes `func` with the arguments of...
Build: Pass
public
mit
// A sequence without explicit chaining. _(users).head();
lodash /
wrapper-chain
v4.17.11
Creates a `lodash` wrapper instance with explicit method cha...
Build: Pass
public
mit
isMatch(object, { b: 2 });
lodash /
is-match
v4.17.11
Performs a partial deep comparison between `object` and `sou...
Build: Pass
public
mit
isError(new Error());
lodash /
is-error
v4.17.11
Checks if `value` is an `Error`, `EvalError`, `RangeError`, ...
Build: Pass
public
mit
isEqual(object, other);
lodash /
is-equal
v4.17.11
Performs a deep comparison between two values to determine i...
Build: Pass
public
mit
dropWhile(users, function(o) { return !o.active; });
lodash /
drop-while
v4.17.11
Creates a slice of `array` excluding elements dropped from t...
Build: Pass
public
mit
flattenDeep([1, [2, [3, [4]], 5]]);
lodash /
flatten-deep
v4.17.11
Recursively flattens `array`.
Build: Pass
public
mit
partition(users, function(o) { return o.active; });
lodash /
partition
v4.17.11
Creates an array of elements split into two groups, the firs...
Build: Pass
public
mit
isNull(null);
lodash /
is-null
v4.17.11
Checks if `value` is `null`.
Build: Pass
public
mit
isDate(new Date());
lodash /
is-date
v4.17.11
Checks if `value` is classified as a `Date` object.
Build: Pass
public
mit
Array
initial([1, 2, 3]);
lodash /
initial
v4.17.11
Gets all but the last element of `array`.
Build: Pass
public
mit
dropWhile(users, function(o) { return !o.active; });
lodash /
drop-while
v4.17.11
Creates a slice of `array` excluding elements dropped from t...
Build: Pass
public
mit
flattenDeep([1, [2, [3, [4]], 5]]);
lodash /
flatten-deep
v4.17.11
Recursively flattens `array`.
Build: Pass
public
mit
toLength(3.2);
lodash /
to-length
v4.17.11
Converts `value` to an integer suitable for use as the lengt...
Build: Pass
public
mit
partition(users, function(o) { return o.active; });
lodash /
partition
v4.17.11
Creates an array of elements split into two groups, the firs...
Build: Pass
public
mit
chunk(["a", "b", "c", "d"], 2);
lodash /
chunk
v4.17.11
Creates an array of elements split into groups the length of...
Build: Pass
public
mit
reverse(array);
lodash /
reverse
v4.17.11
Reverses `array` so that the first element becomes the last,...
Build: Pass
public
mit
range(4);
lodash /
range
v4.17.11
Creates an array of numbers (positive and/or negative) progr...
Build: Pass
public
mit
slice(array, 0, 3);
lodash /
slice
v4.17.11
Creates a slice of array from start up to, but not including...
Build: Pass
public
mit
times(3, String);
lodash /
times
v4.17.11
Invokes the iteratee `n` times, returning an array of the re...
Build: Pass
public
mit