@pelevesque/is-array-in-array
v1.0.2
Published
Checks if an array is in an array.
Downloads
2
Readme
is-array-in-array
Checks if an array is in an array.
Node Repository
https://www.npmjs.com/package/@pelevesque/is-array-in-array
Installation
npm install @pelevesque/is-array-in-array
Tests
Command | Description
---------------------------- | ------------
npm test
or npm run test
| All Tests Below
npm run cover
| Standard Style
npm run standard
| Coverage
npm run unit
| Unit Tests
Usage
const isArrayInArray = require('@pelevesque/is-array-in-array')
const arr = [1, 1]
const arrToCheckIn = [[1, 0], [1, 1], [1, 2]]
const result = isArrayInArray(arr, arrToCheckIn)
// result === true