ASP.NET Pack Programmer's Guide
IEnumerable.sum Method
See Also
 





Computes the sum of the sequence of number values that are obtained by invoking a transform function on each element.

Namespace: MindFusion.Mapping
Package: IEnumerable.js

 Syntax

JavaScript  Copy Code

function sum (selector)

 Parameters

selector

function. A transform function to invoke on each element.

 Return Value

Number. The sum of the number values in the sequence.

 See Also

IEnumerable Members
IEnumerable Class
MindFusion.Mapping Namespace