Skip to content

javiercejudo/every-against-first

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

every-against-first

Build Status Coverage Status Code Climate

Test every element in array against the first

Install

npm i every-against-first

Usage

var everyAgainstFirst = require('every-against-first');

everyAgainstFirst([5, 7, 10], fixtures.isAscendingPair); // => true
everyAgainstFirst([5, 7, 4], fixtures.isAscendingPair); // => false

See more examples of fixture callbacks.

About

♻️ Test every element in array against the first

Resources

License

Stars

Watchers

Forks

Packages

No packages published