includes-many
TypeScript icon, indicating that this package has built-in type declarations

1.2.3 • Public • Published

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.

/includes-many/

    Package Sidebar

    Install

    npm i includes-many

    Weekly Downloads

    20

    Version

    1.2.3

    License

    MIT

    Unpacked Size

    53.9 kB

    Total Files

    5

    Last publish

    Collaborators

    • natqe3