insightSanitize()
Home > @gooddata/sdk-model > insightSanitize
insightSanitize() function
Makes sure the insight does not have any nonsensical data (like totals that no longer make sense, etc.), before it is saved.
Signature:
export declare function insightSanitize<T extends IInsightDefinition>(insight: T): T;
Parameters
Parameter | Type | Description |
---|---|---|
insight | T | the insight or insight definition to sanitize |
Returns:
T