1234567891011121314151617181920212223242526 |
- export interface SearchTreeOptions {
- children?: string;
- mapChildren?: string;
- original?: boolean;
- data?: string;
- }
- export declare function searchTree<T>(list: T[], iterate: (item: T, index: number, items: T[], path: string[], parent: T, nodes: T[]) => boolean, options?: SearchTreeOptions, context?: any): T[];
- export declare function searchTree(list: any[], iterate: (item: any, index: number, items: any[], path: string[], parent: any, nodes: any[]) => boolean, options?: SearchTreeOptions, context?: any): any[];
- export declare function searchTree(list: any, iterate: (item: any, index: number, items: any, path: string, parent: any, nodes: any) => boolean, options?: SearchTreeOptions, context?: any): any[];
- declare module './ctor' {
- interface XEUtilsMethods {
- searchTree: typeof searchTree;
- }
- }
- export default searchTree
|