ng2-tree
Version:
angular2 component for visualizing data that can be naturally represented as a tree
13 lines (12 loc) • 758 B
TypeScript
export declare function isEmpty(value: any[] | string): boolean;
export declare function trim(value: string): string;
export declare function has(value: any, prop: string): boolean;
export declare function isFunction(value: any): boolean;
export declare function get(value: any, path: string, defaultValue?: any): any;
export declare function omit(value: any, propsToSkip: string | string[]): any;
export declare function size(value: any[]): number;
export declare function once(fn: Once): Once;
export declare function defaultsDeep(target: any, ...sources: any[]): any;
export declare function includes(target: string | any[], value: any): boolean;
export declare function isNil(value: any): boolean;
export type Once = (...args: any[]) => any;