includes-many
v1.2.3
Published
Return false when one or more of the given values not include in the array, else return true
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: trueThis module exported from utilizes project.
