Array.pick()
Jump to navigation
Jump to search
Array.pick(ArrayMask)
Pick all elements that matches a true in the array mask.
[1,2,3].pick([true,false,true])
[1, 3]
Pick all elements that matches a true in the array mask.
[1,2,3].pick([true,false,true])
[1, 3]