Pick
Pick(nestedList, nestedSelection)returns the elements of
nestedListthat have valueTruein the corresponding position innestedSelection.
Pick(nestedList, nestedSelection, pattern)returns the elements of
nestedListthose values in the corresponding position innestedSelectionmatch thepattern.
Examples
>> Pick({{1, 2}, {2, 3}, {5, 6}}, {{1}, {2, 3}, {{3, 4}, {4, 5}}}, {1} | 2 | {4, 5}){{1,2},{2},{6}}Related terms
Implementation status
- ✅ - full supported