toolish - v0.2.5
    Preparing search index...

    Function normalizeRangeStart

    • Normalizes an index denoting the start of a range within a longer array-like structure. Effectively ensures that it is within [0, limit]. You can use a negative index to count back from the end.

      If start is omitted, 0 is assumed.

      Parameters

      • limit: number
      • start: number = 0

      Returns number