function
Source: index.ts ↗
defTotals()
Gets totals from particular dimension in the provided execution definition.
export declare function defTotals(def: IExecutionDefinition, dimIdx: number): ITotal[];
Parameters
Parameter | Type | Description |
|---|---|---|
def | definition to get totals from | |
dimIdx | number | dimension index |
Returns
ITotal[]
empty list if no definition or dimension with the provided index not defined or if there are no totals in the dimension