@mikuroxina/mini-fn
    Preparing search index...

    Function sum

    • Sums up the elements for a range between start (inclusive) and end (exclusive). It takes only constant time (O(1)).

      Parameters

      • start: number

        The start index (inclusive).

      Returns (end: number) => <T>(range: RangeQ.RangeQ<T>) => T

      The group sum for the range.