@livekit/components-core
Version:
15 lines • 511 B
TypeScript
/**
* @internal
*/
export declare function isWeb(): boolean;
/**
* Mobile browser detection based on `navigator.userAgent` string.
* Defaults to returning `false` if not in a browser.
*
* @remarks
* This should only be used if feature detection or other methods do not work!
*
* @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Browser_detection_using_the_user_agent#mobile_device_detection
*/
export declare function isMobileBrowser(): boolean;
//# sourceMappingURL=detectMobileBrowser.d.ts.map