Function isTupleable

Determines if an array is tupleable (contains at least 2 items).

  • Type Parameters

    • T

    Parameters

    • x: readonly T[]

      The array to check.

    Returns x is Tupleable<T>

    True if the array is tupleable, false otherwise.