jshow-device-detect
Version:
jshow detect device
7 lines (6 loc) • 473 B
TypeScript
export declare const hasStr: (str1: string, str2: string) => boolean;
export declare const getLower: (str: string) => string;
export declare const getMajor: (version: unknown) => string;
export declare const trimStr: (str: string) => string;
export declare const getStr: (str: string, maps: unknown[] | Record<string, unknown>) => string | undefined;
export declare const execRxp: <T = Record<string, unknown> | unknown[]>(ua: string, arrays: unknown[], target?: {}) => T;