insightAttributes()
Home > @gooddata/sdk-model > insightAttributes
insightAttributes() function
Gets all attributes used in the provided insight
Signature:
export declare function insightAttributes(insight: IInsightDefinition, attributePredicate?: AttributePredicate): IAttribute[];
Parameters
| Parameter | Type | Description | 
|---|---|---|
| insight | insight to work with | |
| attributePredicate | (Optional) predicate to select attributes satisfying some conditions | 
Returns:
empty if none