Description Usage Arguments Examples
The ifilter
and ifilterfalse
functions create iterators
that return a subset of the values of the specified iterable.
ifilter
returns the values for which the pred
function
returns TRUE
, and ifilterfalse
returns the values for
which the pred
function returns FALSE
.
1 2 | ifilter(pred, iterable)
ifilterfalse(pred, iterable)
|
pred |
A function that takes one argument and returns |
iterable |
The iterable to iterate over. |
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.