mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-11-17 23:37:43 +03:00
`isAIBot()` & `isBot()` => `bot-detection` `isChromeFamily()`, `isElectron()`, `isFromEU()`, & `isStandalonePWA()` => `browser-detection` `getDeviceVendor()` & `isAppleSilicon()` => `device-detection`
10 lines
434 B
TypeScript
10 lines
434 B
TypeScript
// Type definitions for browser-detection submodule of UAParser.js v2.0.7
|
|
// Project: https://github.com/faisalman/ua-parser-js
|
|
// Definitions by: Faisal Salman <https://github.com/faisalman>
|
|
|
|
import type { IResult } from "../main/ua-parser";
|
|
|
|
export function isChromeFamily(resultOrUA: IResult | string): boolean;
|
|
export function isElectron(): boolean;
|
|
export function isFromEU(): boolean;
|
|
export function isStandalonePWA(): boolean; |