Function sumBy

  • Compute the sum of the given numbers by applying the given iteratee on every item. The result of the iteratee function is then added to the sum.

    Type Parameters

    • Item

      Type of the numbers elements.

    Parameters

    Returns number

    The sum of the numbers.

Generated using TypeDoc