measureArithmeticOperator()
Home > @gooddata/sdk-model > measureArithmeticOperator
measureArithmeticOperator() function
Gets arithmetic operator from the provided measure.
Signature:
export declare function measureArithmeticOperator(measure: IMeasure): ArithmeticMeasureOperator | undefined;
Parameters
| Parameter | Type | Description | 
|---|---|---|
| measure | measure to get arithmetic operator from | 
Returns:
ArithmeticMeasureOperator | undefined
arithmetic operator of the measure, or undefined if measure is not arithmetic
Remarks
If the measure is not an arithmetic measure, then undefined is returned.