Classes

At

Get element at the specified index. If the index does not exist, the default value is returned.

Collapse an array of arrays into a single array.

Removes specified keys from an array.

Filter an array using a callback. The callback receives both the value and the key of the array.

Retrieve the first element of an array. Optionally, a callback can be provided to filter the array.

Exchanges all keys with their associated values in an arra

Get

Get value from array or object by key using dot-notation.

Implode an array or iterable value.

Changes key casing of an array.

Retrieve all the keys of an array

Returns the last element of an array.

Map

Applies the callback to the elements of the given array

Applies the callback to the keys of the given array

Retrieve only the keys specified.

Return an array with elements in reverse order

Set

Set a value in an array or object by key using dot notation.

Sorts an array. The callback is used to retrieve the value to sort by. If no callback is provided, the value itself is used.

Sorts the keys of an array.

Retrieves all the values of an array

Apply a user function to every member of an array

Apply a user function recursively to every member of an array

Wraps a value in an array (if it isn't already an array)