Removes elements that do not pass the predicate. If limit is provided, at most that many elements will be deleted. i.e. new length will be >= array.length - limit.
Optional
Removes elements that do not pass the predicate. If limit is provided, at most that many elements will be deleted. i.e. new length will be >= array.length - limit.