isValidDashboardTimezoneId()
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
Tests whether a dashboard timezone value is allowed in dashboard content: BROWSER_DETECTED, or a valid IANA timezone ID.
export declare function isValidDashboardTimezoneId(timezoneId: DashboardTimezoneId): boolean;
Parameters
Parameter | Type | Description |
|---|---|---|
timezoneId | timezone value from the dashboard content |
Returns
boolean