js-util

Home > rc-js-util > _Map > initializeGet

_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:

static readonly initializeGet: typeof mapInitializeGet;

Remarks

See mapInitializeGet().