function flattenBy<TNode>(arr, getChildren): TNode[];
Defined in: utils.ts:40
TNode
TNode[]
(item) => TNode[]