arr-contains
v1.0.3
Published
Checks if array contains all the values
Downloads
14
Maintainers
Readme
arr-contains
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