Check all values exists in the array
Give us a ⭐ if you like our work ❤️
$ npm install arr-contains --save
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
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