Array.pick()

From ZCubes Wiki
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]


See Also

parts

pieces