Search results
9 packages found
🐊Putout plugin adds ability to convert indexOf to includes
Get the index of the first element in an array that returns truthy for the given value, using strict equality for comparisons.
Checks if value is found in array
Like indexOf, but gets all matching indices
Return true if a value exists in an array. Faster than using indexOf and won't blow up on null values.
Get the index of the first element in an array that returns truthy for the given value, using strict equality for comparisons.
JavaScript's String.indexOf() that allows for regular expressions.
Get the index of the last element in an array that returns truthy for the given value, using strict equality for comparisons.
Functions that return indexes of items in an array. Optional arguments give you more flexibility than Array.prototype.indexOf()