Function oneArrayIncludes

Checks if an array includes any of the provided items.

  • Type Parameters

    • T = any

      The type of the array element and items.

    Parameters

    • data: null | T[]

      The array to be checked for inclusion.

    • Rest...items: T[]

      The items to check for inclusion in the array.

    Returns boolean

    • True if any of the items is found in the array, false otherwise.