getParameterAllowedValues()
Home > @gooddata/sdk-model > getParameterAllowedValues
getParameterAllowedValues() function
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Returns the allowed values enumerated by the parameter definition, or undefined when the definition does not enumerate any and thus accepts free text.
Signature:
export declare function getParameterAllowedValues(definition: IParameterDefinition): IParameterAllowedValue[] | undefined;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
definition |
Returns:
IParameterAllowedValue[] | undefined