Function isRightArray

  • Type guard function that checks if an array is of type T[].

    Type Parameters

    • T

      The type of the elements to check for.

    Parameters

    • array: unknown[]

      The array to check.

    Returns array is T[]

    A boolean indicating whether the array is of the specified type.