collection/filter library

Functions

filter(List collection, [Function? predicate]) List
Returns a new list containing elements of the collection for which the predicate function returns true.