Options
All
  • Public
  • Public/Protected
  • All
Menu

Module src/arrays/includesAll

Index

Functions

Functions

Const includesAll

  • includesAll<T>(items: T[], subset: T[]): boolean
  • Checks if every entry in subset exists in the items array

    Type parameters

    • T

    Parameters

    • items: T[]

      The array of items

    • subset: T[]

      The values that we check for existence in items

    Returns boolean

    Whether or not all items in subset exist in items

Generated using TypeDoc