@dvcol/common-utils
Version:
Typescript library for common utility functions and constants
10 lines (8 loc) • 448 B
TypeScript
declare function isMobileFirefox(): boolean | undefined;
declare function isMac(): boolean | undefined;
declare function isIPhone(): boolean | undefined;
declare function isSafari(): boolean | undefined;
declare function isIPad(): boolean | undefined;
declare function isIOS(): boolean | undefined;
declare function testPlatform(re: RegExp): boolean | undefined;
export { isIOS, isIPad, isIPhone, isMac, isMobileFirefox, isSafari, testPlatform };