insightItems()
Home > @gooddata/sdk-model > insightItems
insightItems() function
Gets all attributes and measures used in the provided insight.
Signature:
export declare function insightItems(insight: IInsightDefinition): IAttributeOrMeasure[];
Parameters
Parameter | Type | Description |
---|---|---|
insight | IInsightDefinition | insight to work with |
Returns:
empty if none