1 | export declare function noop(): void;
|
2 | export declare function toString(value: any): any;
|
3 | export declare function getType(value: any): string;
|
4 | export declare function isNull(value: any): value is null;
|
5 | export declare function isFunction(value: any): value is Function;
|
6 | export declare function isAsyncFunction(value: any): value is Function;
|
7 | export declare function isGeneratorFunction(value: any): value is GeneratorFunction;
|
8 | export declare function isString(value: any): value is string;
|
9 | export declare function isNumber(value: any): value is number;
|
10 | export declare function isBoolean(value: any): value is boolean;
|
11 | export declare function isElement(value: any): value is Element;
|
12 | export declare function isText(value: any): value is Text;
|
13 | export declare function isObject(value: any): value is object;
|
14 | export declare function isArray(value: any): value is any[];
|
15 | export declare function isTypedArray(value: any): boolean;
|
16 | export declare function isDate(value: any): value is Date;
|
17 | export declare function isRegExp(value: any): value is RegExp;
|
18 | export declare function toArray<T = any>(array: any): T[];
|
19 | export declare function toDate(value: any): Date;
|
20 | export declare function replace(str: string, from: string, to: string): string;
|
21 | export declare function formatDate(value: Date | number | string, format: string, options?: {
|
22 | utc?: boolean;
|
23 | translate?: Record<string, string>;
|
24 | }): string;
|
25 | export declare function each(list: any, handler: (key: string | number, value: any) => any, scope: any): any;
|
26 | export declare function copy(src: any, dst?: any, ignores?: string[]): any;
|
27 | export declare function clone(src: any, ignores?: string[]): any;
|
28 | export declare function getPrototypeOf(obj: any): any;
|
29 | export declare function setPrototypeOf(obj: any, proto: any): any;
|
30 | export declare function create(proto: any): any;
|
31 | export declare function mix(dst: any, src: any, ignores?: string[], mode?: 0 | 1 | 2 | 3 | 4, ignoreNull?: boolean): any;
|
32 | export declare function final(obj: any, name: string, value: any): void;
|
33 | export declare function deepEqual(a: any, b: any): boolean;
|
34 | export declare function fromTo(from: number, to: number, handler: (value?: number) => void, step?: number): void;
|
35 | export declare function newGuid(): string;
|
36 | export declare function setByPath(obj: any, path: string | string[], value: any): void;
|
37 | export declare function getByPath(obj: any, path: string | string[], filter?: (value?: any, key?: string, obj?: any) => boolean): any;
|
38 | export declare function getFunctionArgumentNames(fn: Function): string[];
|
39 | export declare const FUNC_REGEXP: RegExp;
|
40 | export declare function isFunctionString(str: string): boolean;
|
41 | export declare function toFunction(str: string): Function;
|
42 | export declare function short(str: string, maxLength: number): string;
|
43 | export declare function firstUpper(str: string): string;
|
44 | export declare function escapeRegExp(str: string): string;
|
45 | export declare function toCamelCase(str: string, mode: 1 | 0): string;
|
46 | export declare function toSplitCase(str: string): string;
|
47 | export declare function filterHTML(html: string): string;
|
48 | export declare function parseHTML(str: string): ChildNode[];
|