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 | IInsightDefinition | insight to work with |
attributePredicate | AttributePredicate | (Optional) predicate to select attributes satisfying some conditions |
Returns:
empty if none