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) 535 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; [compactMap](./rc-js-util._array.compactmap.md) ## \_Array.compactMap property Like \_Array.map but where the callback returns null it will be omitted from the result. **Signature:** ```typescript static readonly compactMap: typeof arrayCompactMap; ``` ## Remarks See [arrayCompactMap()](./rc-js-util.arraycompactmap.md)<!-- -->.