@fallen-zero/use
Version:
16 lines (15 loc) • 360 B
TypeScript
export declare enum UserAgent {
IOS = "ios",
ANDROID = "android",
I_PHONE = "iPhone",
I_PAD = "iPad",
微信 = "wx",
钉钉 = "dingding",
浙政钉 = "dingding_zy"
}
/**
* 获取当前系统运行环境
* @param type
* @returns
*/
export declare const getSystemAgent: (type?: UserAgent) => Record<UserAgent, boolean> | boolean;