Skip to content

arshadkazmi42/arr-contains

Repository files navigation

arr-contains

Build NPM Version NPM Downloads Github Repo Size LICENSE Contributors Commit

Check all values exists in the array

Give us a ⭐ if you like our work ❤️

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