Type Utils
    Preparing search index...

    Type Alias ParseNegativeIndex<T, N>

    ParseNegativeIndex: IsNegative<N> extends true
        ? Subtract<T["length"], FlipSign<N>>
        : N

    Type Parameters

    • T extends readonly any[]
    • N extends number