We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Checks if array has a value. 📦 😺 🏃 📼 🌔 📜 📰 📘
Similar: search, indexOf, isValue, includes.
array.includes(x, v, [i]); // x: an array // v: search value // i: start index (0)
const array = require("extra-array"); var x = [1, 2, -3]; array.includes(x, 3); // false array.includes(x, -3); // true
There was an error while loading. Please reload this page.