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.
entries.some(x, fn); // x: entries // fn: test function (v, k, x)
const entries = require('extra-entries'); var x = [['a', 1], ['b', 2], ['c', -3], ['d', -4]]; entries.some(x, v => v > 10); // false entries.some(x, v => v < 0); // true