.remove()
Removes the entries that match the provided filter. Removes all the entries from the collection if no filter is provided.
Last updated
Removes the entries that match the provided filter. Removes all the entries from the collection if no filter is provided.
Last updated
Parameter
Description
filter
Callback (optional)
Function to test each element of the array. Return a value that coerces to true
to keep the element, or to false
otherwise
Returns
Description
The removed entries