Represents a filter function that is used to determine if an element should be included in a filtered array.
The current element being evaluated.
The index of the current element being evaluated.
The array that the filter function was called upon.
The result of the filter function evaluation: true if the element should be included, false otherwise.
The type of the elements in the array.