Filter (higher-order Function)
In functional programming, filter is a higher-order function that processes a data structure (typically a list) in some order to produce a new data structure containing exactly those elements of the original data structure for which a given predicate returns the boolean value true.
Read more about Filter (higher-order Function): Example, Implementation, Variants