Skip to content

bjarneo/array-find

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

a-find

Travis

Finding all the occurrences of an element in an array

###Install

npm install --save a-find

###Usage

var find = require('a-find');

find(['a', 'b', 'c', 'd', 'c'], 'c') // => [2, 4]

find(['a', 'b', 'c', 'd', 'c'], 'b') // => [1]

About

Finding all the occurrences of an element in an array

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published