insightValidParameters()
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Gets the parameter values of an insight that are valid for their parameter.
export declare function insightValidParameters(insight: IInsight): IInsightParameterValue[];
Parameters
Parameter | Type | Description |
|---|---|---|
insight |
Returns
empty array when insight has no valid parameter values
Remarks
When the referenced parameters of the insight are not loaded, all values are returned. When they are loaded, a value is returned only when its parameter is there and the value is valid for it.