insightHasMeasures()
Home > @gooddata/sdk-model > insightHasMeasures
insightHasMeasures() function
Tests whether insight uses any measures.
Signature:
export declare function insightHasMeasures(insight: IInsightDefinition): boolean;
Parameters
Parameter | Type | Description |
---|---|---|
insight | IInsightDefinition | insight to test |
Returns:
boolean
true if any measures, false if not