- Preparing search index...
- The search index is not available
Dappetizer
- getOrCreate<TKey, TValue>(map: Map<TKey, TValue>, key: TKey, factory: ((key: TKey) => TValue)): TValue
-
Parameters
-
map: Map<TKey, TValue>
-
key: TKey
-
factory: ((key: TKey) => TValue)
-
- (key: TKey): TValue
-
Returns TValue
Returns TValue