We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Checks if any value satisfies a test. 🏃 📼 📦 🌔 📒
Similar: some, every.
lists.some(x, [ft]); // x: lists // ft: test function (v, k, x)
const lists = require('extra-lists'); var x = [['a', 1], ['b', 2], ['c', -3], ['d', -4]]; lists.some(x, v => v > 10); // false lists.some(x, v => v < 0); // true