UNPKG

@lukeaus/plain-tree

Version:

A plain tree with a bunch of tree tools

9 lines (8 loc) 393 B
export declare const nodeData: (node: any) => any; export declare const nodesData: (nodes: 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: string[]; }) => object;