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 | insight to work with | 
Returns:
empty if none