| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Examine if any value satisfies a test.
function some(x, ft)
// x: an array
// ft: test function (v, i, x)const xarray = require('extra-array');
var x = [1, 2, -3, -4];
xarray.some(x, v => v > 10);
// → false
xarray.some(x, v => v < 0);
// → true| Back | FazBrowse Home | New Git URL |