UNPKG

newick

Version:
8 lines (7 loc) 257 B
import { NewickNode } from '../types'; /** * Returns the name of the root node of a Newick tree * @param tree - Newick string or tree object * @returns Root node name or null */ export declare function getRoot(tree: string | NewickNode): string | null;