Skip to content

Kirby 4.4.1

A::find()

Finds the first element matching the given callback

A::find(array $array, callable $callback): mixed|null

Parameters

Name Type Default
$array * array
$callback * callable

Return type

mixed|null

Parent class

Kirby\Toolkit\A