js-util

Home > rc-js-util > DirtyCheckedUniqueCollection > mapInitializeAdd

DirtyCheckedUniqueCollection.mapInitializeAdd() method

Signature:

static mapInitializeAdd<TKey extends object, TValue>(map: WeakMap<TKey, IDirtyCheckedUniqueCollection<TValue>>, key: TKey, value: TValue): boolean;

Parameters

Parameter Type Description
map WeakMap<TKey, IDirtyCheckedUniqueCollection<TValue>>  
key TKey  
value TValue  

Returns:

boolean