Remove all elements from an Array that match a Predicate.
Remove all even numbers
const array = [1, 2, 3];deleteIf(isEven)(array);console.log(array); // [1, 3]
the Array element type
Generated using TypeDoc
Remove all elements from an Array that match a Predicate.
Mutation
Example
Remove all even numbers