Start sharing components as a team!Share components as a team!Join Bit to build your applications faster.Get Started Free
Thank you for subscribing to theplan!

lodash

1 Members
Labels
Clear
Labels
Done
No visible options
Clear
Done
Dependencies
Clear
Dependencies
Done
No visible options
Clear
Done
No size data available
Size
Clear
Size
Done
Choose size range
?
Component bundled with dependencies, minified and gzip'ed
0 B
50 KB +
Component bundled with dependencies,minified and gzip'ed
Clear
Done
More options
Clear
More options
Done
Component features
Tests
Usage examples
Visual rendering
Component types
Internal
Deprecated
Clear
Done
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
9 KB
// 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
1 KB
isMatch(object, {
  b: 2
});
lodash /
is-match
v4.17.11
Performs a partial deep comparison between `object` and `sou...
Build: Pass
public
mit
6 KB
isError(new Error());
lodash /
is-error
v4.17.11
Checks if `value` is an `Error`, `EvalError`, `RangeError`, ...
Build: Pass
public
mit
1 KB
isEqual(object, other);
lodash /
is-equal
v4.17.11
Performs a deep comparison between two values to determine i...
Build: Pass
public
mit
N/A
isNull(null);
lodash /
is-null
v4.17.11
Checks if `value` is `null`.
Build: Pass
public
mit
483 B
isDate(new Date());
lodash /
is-date
v4.17.11
Checks if `value` is classified as a `Date` object.
Build: Pass
public
mit
1 KB
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
N/A
sortedUniqBy(
  [1.1, 1.2, 2.3, 2.4],
  Math.floor
lodash /
sorted-uniq-by
v4.17.11
This method is like `_.uniqBy` except that it's designed and...
Build: Pass
public
mit
7 KB
subtract(6, 4);
lodash /
subtract
v4.17.11
Subtract two numbers.
Build: Pass
public
mit
1 KB
Array
initial([1, 2, 3]);
lodash /
initial
v4.17.11
Gets all but the last element of `array`.
Build: Pass
public
mit
630 B
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
N/A
flattenDeep([1, [2, [3, [4]], 5]]);
lodash /
flatten-deep
v4.17.11
Recursively flattens `array`.
Build: Pass
public
mit
1 KB
toLength(3.2);
lodash /
to-length
v4.17.11
Converts `value` to an integer suitable for use as the lengt...
Build: Pass
public
mit
1 KB
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
7 KB
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
2 KB
reverse(array);
lodash /
reverse
v4.17.11
Reverses `array` so that the first element becomes the last,...
Build: Pass
public
mit
502 B
range(4);
lodash /
range
v4.17.11
Creates an array of numbers (positive and/or negative) progr...
Build: Pass
public
mit
2 KB
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
2 KB
times(3, String);
lodash /
times
v4.17.11
Invokes the iteratee `n` times, returning an array of the re...
Build: Pass
public
mit
1 KB