MCPcopy Index your code
hub / github.com/deployd/deployd / includes

Function includes

test-app/public/sinon.js:5434–5436  ·  view source on GitHub ↗

* @param {!Array.<*>} array The array to check. * @param {*} item The item to look for in the array. * @return {boolean} True if the item appears in the array.

(array, item)

Source from the content-addressed store, hash-verified

5432 * @return {boolean} True if the item appears in the array.
5433 */
5434 function includes(array, item) {
5435 return array.indexOf(item) !== -1;
5436 }
5437
5438 var floor = Math.floor;
5439

Callers 4

serializeStreamFunction · 0.85
baseDifferenceFunction · 0.85
baseIntersectionFunction · 0.85
baseUniqFunction · 0.85

Calls 5

isArrayLikeFunction · 0.85
valuesFunction · 0.85
toIntegerFunction · 0.85
baseIndexOfFunction · 0.85
isStringFunction · 0.70

Tested by

no test coverage detected