@cainiaofe/cn-utils
Version:
菜鸟前端基础工具库
14 lines (13 loc) • 381 B
TypeScript
export declare const ua: string;
export declare const isMobile: boolean;
export declare const isPC: boolean;
export declare const getBrowserName: (toLowerCase: any) => string;
export declare const getBrowserVersion: () => "";
/**
* 获取客户端/浏览器信息
*/
export declare const getClientInfo: () => {
isMobile: boolean;
isPC: boolean;
userAgent: string;
};