measureDoesComputeRatio()
Home > @gooddata/sdk-model > measureDoesComputeRatio
measureDoesComputeRatio() function
Tests whether the measure is set to compute ratio.
Signature:
export declare function measureDoesComputeRatio(measure: IMeasure): measure is IMeasure<IMeasureDefinition>;
Parameters
Parameter | Type | Description |
---|---|---|
measure | IMeasure | measure to to test |
Returns:
measure is IMeasure<IMeasureDefinition>
true if computes ratio, false otherwise