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) 643 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; [\_Map](./rc-js-util._map.md) &gt; [reportingAddToSet](./rc-js-util._map.reportingaddtoset.md) ## \_Map.reportingAddToSet property Used with maps that store sets. Where a set exists for a given key the value will be added to that set, otherwise a new set will be created containing the value. **Signature:** ```typescript static readonly reportingAddToSet: typeof mapReportingAddToSet; ``` ## Remarks See [mapReportingAddToSet()](./rc-js-util.mapreportingaddtoset.md)<!-- -->.