ichigyou
    Preparing search index...

    Function isSubset

    • Checks if the first array is a subset of the second array.

      Type Parameters

      • T

        The type of the array elements.

      Parameters

      • arr1: T[]

        The first array.

      • arr2: T[]

        The second array.

      Returns boolean

      • Returns true if every element in arr1 is included in arr2, otherwise returns false.