array-every

WebJar for array-every

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

array-every
Last Version

Last Version

0.1.2
Release Date

Release Date

Type

Type

jar
Description

Description

array-every
WebJar for array-every
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/jonschlinkert/array-every

Download array-every

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/array-every/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>array-every</artifactId>
    <version>0.1.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/array-every/
implementation 'org.webjars.npm:array-every:0.1.2'
// https://jarcasting.com/artifacts/org.webjars.npm/array-every/
implementation ("org.webjars.npm:array-every:0.1.2")
'org.webjars.npm:array-every:jar:0.1.2'
<dependency org="org.webjars.npm" name="array-every" rev="0.1.2">
  <artifact name="array-every" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='array-every', version='0.1.2')
)
libraryDependencies += "org.webjars.npm" % "array-every" % "0.1.2"
[org.webjars.npm/array-every "0.1.2"]

Dependencies

compile (1)

Group / Artifact Type Version
org.webjars.npm : make-iterator jar [0.1.1,0.2)

Project Modules

There are no modules declared in this project.

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

Install with NPM

Install with npm

npm i array-every --save

Install with Bower

Install with bower

bower install array-every --save

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

Related projects

  • array-every: Returns true if the callback returns truthy for all elements in the given array.
  • array-slice: Array-slice method. Slices array from the start index up to, but not including, the endmore
  • array-unique: Return an array free of duplicate values. Fastest ES5 implementation.
  • filter-array: Iterates over the elements in an array, returning an array with only the elements for… more
  • index-of: Get the index of the first element in an array that returns truthy for the… more
  • make-iterator: Convert an argument into a valid iterator. Based on the .makeIterator() implementation in mout https://github.com/mout/mout.

Running tests

Install dev dependencies:

npm i -d && npm test

Contributing

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

Author

Jon Schlinkert

License

Copyright (c) 2015 Jon Schlinkert Released under the MIT license.


This file was generated by verb-cli on May 07, 2015.

Versions

Version
0.1.2