Luna::List::remove_if
template <typename _UnaryPredicate>
usize remove_if(_UnaryPredicate p)
Removes all elements for which the specified predicate returns true.
Parameters
-
in p
The unary predicate which returns
​trueif the element should be removed.
Return value
Returns the number of elements removed.