mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
12 lines
605 B
TypeScript
12 lines
605 B
TypeScript
export declare function isFunction(val: unknown): val is Function;
|
|
export declare function isPlainObject(
|
|
val: unknown
|
|
): val is Record<string, unknown>;
|
|
export declare function isPromise<T = unknown>(val: unknown): val is Promise<T>;
|
|
export declare function isDef(value: any): boolean;
|
|
export declare function isObj(x: unknown): x is Record<string, unknown>;
|
|
export declare function isNumber(value: string): boolean;
|
|
export declare function isBoolean(value: unknown): value is boolean;
|
|
export declare function isImageUrl(url: string): boolean;
|
|
export declare function isVideoUrl(url: string): boolean;
|