UNPKG

sonic-forest

Version:

High-performance (binary) tree and sorted map implementation (AVL, Splay, Radix, Red-Black)

3 lines (2 loc) 138 B
import type { HeadlessNode } from '../types'; export declare const first: <N extends HeadlessNode>(root: N | undefined) => N | undefined;