Method |
Description |
|
customFilter ( array $data, callable $cb, $keyed = true ) |
|
|
each ( array $data, callable $cb ) |
Iterates over the given data. |
|
every ( array $data, callable $cb ) : boolean |
Returns true if every element of the given data passes
a thruth test. |
|
filter ( array $data, callable $cb, $keyed = true ) : array |
Filters each of the given values through a function. |
|
find ( array $data, callable $cb, mixed $default = null ) : mixed |
Finds a value in the given data. |
|
findKey ( array $data, callable $cb, mixed $default = null ) : integer | string |
Finds a value in the given data and returns its key. |
|
map ( array $data, callable $cb ) : array |
Updates each of the given values. |
|
mapKeys ( array $data, callable $cb ) : array |
Updates the keys each of the given data. |
|
nativeFilter ( array $data, callable $cb, $keyed = true ) |
|
|
reduce ( array $data, callable $cb, mixed $memo ) : mixed |
Boils down a list of values to a single value. |
|
reject ( array $data, callable $cb, $keyed = true ) : array |
The opposite of filter(). |
|
some ( array $data, callable $cb ) : boolean |
Returns true if some elements of the given data passes
a thruth test. |
|