Name Type Argument Description
any The current element being processed in the array.
The index of the current element being processed in the array.
The array filter was called upon.
Returns:True if the element satisfies the filter.
The interface for Filter