select(list, test)items passing test Type: For any types t([t], (t) -> Boolean) -> [t]

Returns a new list containing all the items in the list for which the function returns true.

ExamplesClick an example to insert it
select([3, 8, 4, 6, 2], (? >= 5))[8, 6]
select([], (? = 0))[]