UNPKG

rc-js-util

Version:

A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.

19 lines (10 loc) 556 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [rc-js-util](./rc-js-util.md) &gt; [\_Tree](./rc-js-util._tree.md) &gt; [collect](./rc-js-util._tree.collect.md) ## \_Tree.collect property Similar to a reducer, but without the return requirement. It otherwise behaves like [treeIterate()](./rc-js-util.treeiterate.md)<!-- -->. **Signature:** ```typescript static readonly collect: typeof treeCollect; ``` ## Remarks See [treeCollect()](./rc-js-util.treecollect.md)<!-- -->.