Determines whether or not a
This function is valid in
v2.13.0 to v2.14.2.
This function has been downloaded 2 times.
target is present within a given string, array or object. Unlike
Array.prototype.includes(), this function differentiates between
The array, object or string in which
target should be searched for.
The target value to search for within
The position at which to start the search for strings or arrays. This will be ignored for objects. Negative values will be calculated from the end.
A boolean value indicating if
target is present within
subject at or after
This function requires the following function which is included automatically:
Gets the index of a specified target value in a string, array or an object. Unlike
Array.prototype.indexOf(), this function works for finding
NaN and differentiates between