sumField()
Last updated 3/10/2024
The
sumField()
is a function on the Five
object that returns the sum of all the values from the array of records associated
to the field ID. The sumField()
only works with a field that has a number data type.
Available
Client
Function Signature
sumField(records:Array<FiveRecord>, fieldID: string) : number;
Parameter | Type | Description |
---|---|---|
records | Array | An array of records |
fieldID | string | A string representing the field ID |