We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Check if array has a value.
Similar: search, indexOf, isValue, includes.
function includes(x, v, i) // x: an array // v: search value // i: begin index [0]
const xarray = require('extra-array'); var x = [1, 2, -3]; xarray.includes(x, 3); // → false xarray.includes(x, -3); // → true
There was an error while loading. Please reload this page.