a-find

1.0.1 • Public • Published

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]

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i a-find

    Weekly Downloads

    1

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • bjarneo