@amphibian/in-array

boolean check to see if an index is in an array

Stats

StarsIssuesVersionUpdatedCreatedSize
@amphibian/in-array
1.0.45 years ago6 years agoMinified + gzip package size for @amphibian/in-array in KB

Readme

in-array

build status

boolean check to see if an index is in an array

npm install @amphibian/in-array
var inArray = require('@amphibian/in-array');
var mammals = ['cat', 'dog', 'horse'];

inArray('horse', mammals); // > true
inArray('fish', mammals); // > false

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.