$ npm install array-every
Returns true if the callback returns truthy for all elements in the given array.
Based on mout's implementation of every
.
Install with NPM
Install with npm
npm i array-every --save
Install with Bower
Install with bower
bower install array-every --save
var every = require('array-every');
every(['a', 'b', 'c'], function (ele) {
return ele === 'a';
});
//=> false
every(['a', 'a', 'a'], function (ele) {
return ele === 'a';
});
//=> true
array
from the start
index up to, but not including, the end
… more.makeIterator()
implementation in mout https://github.com/mout/mout.Install dev dependencies:
npm i -d && npm test
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
Jon Schlinkert
Copyright (c) 2015 Jon Schlinkert Released under the MIT license.
This file was generated by verb-cli on May 07, 2015.
© 2010 - cnpmjs.org x YWFE | Home | YWFE