@wpazderski/js-utils
    Preparing search index...

    Type Alias IntRangeInclusive<TFirst, TLast>

    IntRangeInclusive:
        | Exclude<NaturalNumbers<TLast>, NaturalNumbers<TFirst>>
        | TLast

    Generates a union type of natural numbers from TFirst to TLast inclusive.

    Type Parameters

    • TFirst extends number

      The first natural number in the range (inclusive).

    • TLast extends number

      The last natural number in the range (inclusive).