Checks if array has a value. 📦 😺 🏃 📼 🌔 📜 📰 📘 Similar: search, indexOf, isValue, includes. This is part of package extra-array. 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 References Array.prototype.includes: MDN web docs Array.includes: sugarjs array-tools.contains: @75lb