Start sharing components as a team!Share components as a team!Join Bit to build your applications faster.Get Started Free
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
findLastKey(users, function(o) {
  return o.age < 40;
});
lodash /
find-last-key
v4.17.15
This method is like `_.findKey` except that it iterates over...
Build: Pass
public
mit
N/A
isMatch(object, {
  b: 2
});
lodash /
is-match
v4.17.15
Performs a partial deep comparison between `object` and `sou...
Build: Pass
public
mit
N/A
isError(new Error());
lodash /
is-error
v4.17.15
Checks if `value` is an `Error`, `EvalError`, `RangeError`, ...
Build: Pass
public
mit
N/A
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
dropWhile(users, function(o) {
  return !o.active;
});
lodash /
drop-while
v4.17.15
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.15
Recursively flattens `array`.
Build: Pass
public
mit
N/A
partition(users, function(o) {
  return o.active;
});
lodash /
partition
v4.17.15
Creates an array of elements split into two groups, the firs...
Build: Pass
public
mit
N/A
Array
initial([1, 2, 3]);
lodash /
initial
v4.17.15
Gets all but the last element of `array`.
Build: Pass
public
mit
653 B
dropWhile(users, function(o) {
  return !o.active;
});
lodash /
drop-while
v4.17.15
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.15
This method is like `_.uniqBy` except that it's designed and...
Build: Pass
public
mit
N/A
differenceWith(
  objects,
  [
    {
      x: 1,
      y: 2
    }
  ],
  _.isEqual
lodash /
difference-with
v4.17.15
This method is like `_.difference` except that it accepts `c...
Build: Pass
public
mit
N/A
flattenDeep([1, [2, [3, [4]], 5]]);
lodash /
flatten-deep
v4.17.15
Recursively flattens `array`.
Build: Pass
public
mit
N/A
toLength(3.2);
lodash /
to-length
v4.17.15
Converts `value` to an integer suitable for use as the lengt...
Build: Pass
public
mit
N/A
partition(users, function(o) {
  return o.active;
});
lodash /
partition
v4.17.15
Creates an array of elements split into two groups, the firs...
Build: Pass
public
mit
N/A
this.a = 1;
lodash /
to-pairs-in
v4.17.11
Creates an array of own and inherited enumerable string keye...
Build: Pass
public
mit
3 KB
compact([0, 1, false, 2, "", 3]);
lodash /
compact
v4.17.15
Creates an array with all falsey values removed.
Build: Pass
public
mit
N/A
chunk(["a", "b", "c", "d"], 2);
lodash /
chunk
v4.17.15
Creates an array of elements split into groups the length of...
Build: Pass
public
mit
N/A