getParameterValueTitle()
Home > @gooddata/sdk-model > getParameterValueTitle
getParameterValueTitle() 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 title to show for value under the given parameter definition. When the definition has no title for value, returns the plain value as a string.
Signature:
export declare function getParameterValueTitle(definition: IParameterDefinition, value: ParameterValue): string;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
definition | ||
|
value |
Returns:
string