1.0.3 • Published 2 years ago

arr-contains v1.0.3

Weekly downloads
233
License
MIT
Repository
github
Last release
2 years ago

arr-contains

Build NPM Version NPM Downloads Github Repo Size LICENSE Contributors Commit

Check all values exists in the array

Give us a :star: if you like our work :heart:

Install

$ npm install arr-contains --save

Usage

const arrayContains = require('arr-contains');

const has = arrayContains(['fastret', 'array', 'contains', 'me'], ['array', 'contains']);
// Output -> true

const has = arrayContains(['fastret', 'contains', 'me'], ['array', 'contains']);
// Output -> false

Contributing

Interested in contributing to this project? You can log any issues or suggestion related to this library here

Read our contributing guide on getting started with contributing to the codebase