Filter (higher-order function)
Computer programming function / From Wikipedia, the free encyclopedia
Dear Wikiwand AI, let's keep it short by simply answering these key questions:
Can you list the top facts and stats about Filter (higher-order function)?
Summarize this article for a 10 year old
SHOW ALL QUESTIONS
In functional programming, filter is a higher-order function that processes a data structure (usually 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
.