discard!

docblock
discard!(x, p)

Discard the elements x_i of collection x such that p(x_i) is true.