Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "sumBy"

Index

Functions

Functions

sumBy

  • sumBy<T>(this: Sequence<T>, selector: function): number
  • Returns the sum of all numbers specified by the given selector function.

    Type parameters

    • T

    Parameters

    • this: Sequence<T>
    • selector: function
        • (value: T): number
        • Parameters

          • value: T

          Returns number

    Returns number