Fermat
Search
K
Comment on page

Filter

You can filter elements in a structure for which a given function returns true.
filter [structure] with ([ID]):
[block]
end
Here, you can find an example with a list:
filter [1,2,3,4] with (x):
x > 1
end
Output:
> [2,3,4]
Last modified 1yr ago