Returns the sum of all the values in a group.

See usage.

  • Parameters

    • collection: unknown[]

      The input array

    • expr: unknown

      The right-hand side expression value of the operator

    • options: Options

    Returns number