A::find()
Finds the first element matching the given callback
Parameters
Name | Type | Default |
---|---|---|
$array * | array |
– |
$callback * | callable |
– |
Return type
mixed
|null
Finds the first element matching the given callback
Name | Type | Default |
---|---|---|
$array * | array |
– |
$callback * | callable |
– |
mixed
|null