eznio/ar

Array shortcut utils

Installs: 419

Dependents: 6

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/eznio/ar

1.1.2 2017-06-09 22:59 UTC

This package is not auto-updated.

Last update: 2025-10-12 02:04:14 UTC


README

Small collection of (sometimes) useful array-related tools.

function get(array $array, string $path);
function each(array $array, callable $callback)
function filter(array $array, callable $callback)
function reject(array $array, callable $callback)
function map(array $array, callable $callback)
function reduce(array $array, callable $callback, mixed $initialValue)
function sort(array $array, string $elementPath)
function is1d(array $array)
function is2d(array $array)

Documentation: https://eznio.github.io/ar/