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) 510 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; [\_Array](./rc-js-util._array.md) &gt; [collect](./rc-js-util._array.collect.md) ## \_Array.collect property Like `Array.reduce` but without the requirement to return the value in the callback. **Signature:** ```typescript static readonly collect: typeof arrayCollect; ``` ## Remarks See [arrayCollect()](./rc-js-util.arraycollect.md)<!-- -->.