Function filter
Filters values that do not satisfy the predicate function $pred.
Parameters summary
mixed |
$iterable |
Iterable sequence of data. |
callable |
$pred |
Function that accepts a value and returns true/false |
Return value summary
Generator
|
\Generator |