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) 617 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; [initializeGet](./rc-js-util._map.initializeget.md) ## \_Map.initializeGet property Gets the value from a `Map` for a given key, where the value is `undefined` or hasn't been set, the callback's return will be inserted into the `Map` and returned. **Signature:** ```typescript static readonly initializeGet: typeof mapInitializeGet; ``` ## Remarks See [mapInitializeGet()](./rc-js-util.mapinitializeget.md)<!-- -->.