.has()
Checks if there is any entry matching the provided filter.
has(filter)
Parameter
Description
filter
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
Whether or not there is any entry matching the provided filter
Last updated