isValidDashboardTimezoneId()
Home > @gooddata/sdk-model > isValidDashboardTimezoneId
isValidDashboardTimezoneId() 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.
Tests whether a dashboard timezone value is allowed in dashboard content: BROWSER_DETECTED, or a valid IANA timezone ID.
Signature:
export declare function isValidDashboardTimezoneId(timezoneId: DashboardTimezoneId): boolean;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
timezoneId |
timezone value from the dashboard content |
Returns:
boolean