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