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) 656 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; [clearingDeleteFromSet](./rc-js-util._map.clearingdeletefromset.md) ## \_Map.clearingDeleteFromSet property Used with maps that store sets. Where a set exists for a given key the value will be removed from that set, if it is empty after removal, then the set is deleted. **Signature:** ```typescript static readonly clearingDeleteFromSet: typeof mapClearingDeleteFromSet; ``` ## Remarks See [mapDeleteFromSet()](./rc-js-util.mapdeletefromset.md)<!-- -->.