UNPKG

@alifd/meet-react

Version:

Fusion Mobile React UI System Component

21 lines (20 loc) 1.15 kB
export declare function noop(): void; export declare function get(source: any, path: any, defaultValue?: any): any; export declare function isValidArray(obj: any): obj is any[]; export declare function findInArray(arr: any[], fn: any): any; export declare function range(start: number, end?: number, step?: number): any[]; export declare function isString(str: any): str is string; export declare function isNumber(num: any): num is number; export declare function isUndef(obj: any): obj is undefined; export declare function isFunction(fn: any): fn is Function; export declare function isBoolean(val: any): boolean; export declare function isNil(val: any): val is undefined | null; export declare function isInvalidValue(val: any): boolean; export declare function isPromise(val: any): val is Promise<any>; export declare const nextTick: (handler: any) => void; export declare function removeFromArray(arr?: any[], val?: string): any[]; export declare function replaceMessage(template: string, kv: { [x: string]: any; }): string; export declare function getValueFromEvents(e: any): any; export declare function getNotUndef(...values: any[]): any;