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