isBrowserDetectedTimezone()
Home > @gooddata/sdk-model > isBrowserDetectedTimezone
isBrowserDetectedTimezone() 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 the provided timezone value is the BROWSER_DETECTED sentinel.
Signature:
export declare function isBrowserDetectedTimezone(timezoneId: DashboardTimezoneId | undefined): timezoneId is typeof BROWSER_DETECTED;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
timezoneId |
DashboardTimezoneId | undefined |
timezone value to test |
Returns:
timezoneId is typeof BROWSER_DETECTED