🦴 utilities
Gets the normalized index to access the element of an array or tuple.
type R = IndexAt<['a', 'b', 'c'], 2> // 2type R = IndexAt<['a', 'b', 'c'], -2> // 1type R = IndexAt<['a', 'b', 'c'], 3> // nevertype R = IndexAt<['a', 'b', 'c'], -4> // never Copy
type R = IndexAt<['a', 'b', 'c'], 2> // 2type R = IndexAt<['a', 'b', 'c'], -2> // 1type R = IndexAt<['a', 'b', 'c'], 3> // nevertype R = IndexAt<['a', 'b', 'c'], -4> // never
🦴 utilities
Gets the normalized index to access the element of an array or tuple.