A::some()
Checks if at least one element in the array passes the test
A::some(array $array, callable $test): bool
Parameters
Name | Type | Default |
---|---|---|
$array * | array |
– |
$test * | callable |
– |
Return type
bool
Checks if at least one element in the array passes the test
A::some(array $array, callable $test): bool
Name | Type | Default |
---|---|---|
$array * | array |
– |
$test * | callable |
– |
bool