WolframLang: Filter List

By Xah Lee. Date: . Last updated: .

Get Parts by Filter Function

Select

Get elements by a filter function

Select

Select[ {3,4,5,6}, EvenQ ] === {4, 6}

Select[
 {{3}, {0, 23}, {9}, {4,5,6}},
 Function[ Length[#] === 2 ]
] === {{0, 23}}

Filter by Pattern

Get Min/Max

Min

Min

Max

Max

WolframLang List Operations