UNPKG

@lukeaus/plain-tree

Version:

A plain tree with a bunch of tree tools

11 lines (10 loc) 416 B
export declare const nodeData: (node: any) => any; export declare const nodesData: (nodes: Array<any>) => any; export declare const hasChildren: (node: any) => boolean; export declare const generateId: () => string; export declare const firstArrayElement: (arr: any) => any; export declare const filterObject: (obj: object, { disallowedKeys }: { disallowedKeys: Array<string>; }) => { [key: string]: any; };