Skip to content

javiercejudo/every2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

every2

Build Status Coverage Status Code Climate

Like Array.prototype.every but for every 2-tuple

Install

npm i every2

Usage

var every2 = require('every2');

every2(fixtures.isAscendingPair, [1, 5, 10]); // => true
every2(fixtures.isAscendingPair, [8, 5, 10]); // => false

Please note the tuples are passed to the callback as individual arguments, not as an array.

See more examples of fixture callbacks.

About

Like Array.prototype.every but for every 2-tuple

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •