UNPKG

758 BTypeScriptView Raw
1export declare function isEmpty(value: any[] | string): boolean;
2export declare function trim(value: string): string;
3export declare function has(value: any, prop: string): boolean;
4export declare function isFunction(value: any): boolean;
5export declare function get(value: any, path: string, defaultValue?: any): any;
6export declare function omit(value: any, propsToSkip: string | string[]): any;
7export declare function size(value: any[]): number;
8export declare function once(fn: Once): Once;
9export declare function defaultsDeep(target: any, ...sources: any[]): any;
10export declare function includes(target: string | any[], value: any): boolean;
11export declare function isNil(value: any): boolean;
12export type Once = (...args: any[]) => any;