Type guard that checks if an array is non-empty, narrowing it to the
structural non-empty tuple.
This is the structural counterpart of isNonEmpty: it narrows to
MinLengthTuple<1, E> rather than to the branded MinLengthArray<1, E>.
Prefer isNonEmpty unless you specifically need the structural type.
Type guard that checks if an array is non-empty, narrowing it to the structural non-empty tuple.
This is the structural counterpart of
isNonEmpty: it narrows toMinLengthTuple<1, E>rather than to the brandedMinLengthArray<1, E>. PreferisNonEmptyunless you specifically need the structural type.