JSPM

array-every

0.1.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 18678
  • Score
    100M100P100Q136357F
  • License

Returns true if the callback returns truthy for all elements in the given array.

Package Exports

  • array-every

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (array-every) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

array-every NPM version

Returns true if the callback returns truthy for all elements in the given array.

Based on mout's implementation of every.

Install with npm

npm i array-every --save

Run tests

npm test

Usage

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

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue

Author

Jon Schlinkert

License

Copyright (c) 2014 Jon Schlinkert
Released under the MIT license


This file was generated by verb on December 12, 2014. To update, run npm i -g verb && verb.