Skip to content

Kirby 4.2.0

A::every()

Checks if every element in the array passes the test

A::every(array $array, callable $test): bool

Parameters

Name Type Default
$array * array
$test * callable

Return type

bool

Parent class

Kirby\Toolkit\A