includes-many
v1.2.3
Published
Return false when one or more of the given values not include in the array, else return true
Downloads
5
Maintainers
Readme
includesMany
Return false when one or more of the given values not include in the array, else return true
Usage: includesMany<T>(collection: ArrayLike<T>, ...targets: Array<T>): boolean
import { includesMany } from 'includes-many'
includesMany([`value1`], `value1`, `value2`)
// Output: false
includesMany([`value1`, `value2`], `value1`, `value2`)
// Output: true
This module exported from utilizes project.