getReportTextPlaceholders()
Home > @gooddata/sdk-model > getReportTextPlaceholders
getReportTextPlaceholders() 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.
Collects the distinct {{variable}} names referenced in the text, in order of first occurrence.
Signature:
export declare function getReportTextPlaceholders(text: string): string[];
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
text |
string |
Returns:
string[]