Type guard that checks if an array is empty, narrowing it to the structural
empty tuple.
This is the structural counterpart of isEmpty: it narrows to readonly []
rather than to the branded FixedLengthArray<0, E>. Prefer isEmpty unless
you specifically need the structural type.
Type guard that checks if an array is empty, narrowing it to the structural empty tuple.
This is the structural counterpart of
isEmpty: it narrows toreadonly []rather than to the brandedFixedLengthArray<0, E>. PreferisEmptyunless you specifically need the structural type.