@tsdotnet/linq - v1.5.11
    Preparing search index...

    Function sumAndCount

    • Returns the sum (.value) of a sequence and the number of entries (.count).

      Parameters

      • sequence: Iterable<number>

        The sequence of numbers to sum and count.

      Returns { count: number; value: number }

      The result.