Utils
class Utils
| internal |
Methods
static bool
static mixed
last(array $array)
Get the last item from an array or null if it doesn't exist.
Details
at line 19
static bool
allMatch(array $values, Closure $callback)
Determine if all items in an array match a truth test.
at line 35
static mixed
last(array $array)
Get the last item from an array or null if it doesn't exist.
at line 45
static false|int|string
search(array $array, Closure $callback)
Returns the key of the first element in the array that satisfies the callback.