augment-vir - v31.71.4
    Preparing search index...

    Type Alias IsTupleSizeSafe<Length>

    IsTupleSizeSafe: `${Length}` extends `${Digit}`
    | `${Digit}${Digit}`
        ? true
        : false

    Detects whether Length is a safe size to materialize as a tuple at the type level. Only matches non-negative integer literals 0–99, whose stringification is exactly one or two ASCII digits. Anything else — sizes ≥ 100, negatives, non-integers, scientific notation, or a non-literal number — fails to match, because _TupleOf either exceeds TS's recursion limit or never terminates for those inputs.

    Type Parameters

    • Length extends number