We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Checks if all values satisfy a test. 🏃 📼 📦 🌔 📒
Similar: some, every.
array.every(x, fn); // x: an array // fn: test function (v, i ,x)
const array = require('extra-array'); var x = [1, 2, -3, -4]; array.every(x, v => v > 0); // false array.every(x, v => v > -10); // true