UNPKG

@sincerecloud/sc-ui

Version:

vue3 ui ant-design-vue sincerecloud sc-ui typescript

25 lines (24 loc) 1.53 kB
export declare function is(val: unknown, type: string): boolean; export declare function isEmptyText<T = string>(text: T): boolean; export declare function isDef<T = unknown>(val?: T): val is T; export declare function isUnDef<T = unknown>(val?: T): val is T; export declare function isObject(val: any): val is Record<any, any>; export declare function isEmpty<T = unknown>(val: T): val is T; export declare function transformPxtoRem(val: string | number): string | number; export declare function isDate(val: unknown): val is Date; export declare function isNull(val: unknown): val is null; export declare function isNullAndUnDef(val: unknown): val is null | undefined; export declare function isNullOrUnDef(val: unknown): val is null | undefined; export declare function isNumber(val: unknown): val is number; export declare function isPromise<T = any>(val: unknown): val is Promise<T>; export declare function isString(val: unknown): val is string; export declare function isFunction(val: unknown): val is Function; export declare function isBoolean(val: unknown): val is boolean; export declare function isRegExp(val: unknown): val is RegExp; export declare function isArray(val: any): val is Array<any>; export declare function isWindow(val: any): val is Window; export declare function isMap(val: unknown): val is Map<any, any>; export declare const isServer: boolean; export declare const isClient: boolean; export declare function isUrl(path: string): boolean; export declare const isStringNumber: (val: string) => boolean;