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.
Examine if all values satisfy a test.
Similar: some, every.
function every(x, ft) // x: an array // ft: test function (v, i, x)
const xarray = require('extra-array'); var x = [1, 2, -3, -4]; xarray.every(x, v => v > 0); // → false xarray.every(x, v => v > -10); // → true