‚̧Network Powering Makers
    Have ideas to improve npm?Join in the discussion! ¬Ľ

    @amphibian/in-array

    1.0.4¬†‚Äʬ†Public¬†‚Äʬ†Published

    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

    Keywords

    none

    Install

    npm i @amphibian/in-array

    DownloadsWeekly Downloads

    1

    Version

    1.0.4

    License

    ISC

    Last publish

    Collaborators

    • avatar