js-util

Home > rc-js-util > _Map > addToSet

_Map.addToSet property

Used with maps that store sets. Where a set exists for a given key the value will be added to that set, otherwise a new set will be created containing the value.

Signature:

static readonly addToSet: typeof mapAddToSet;

Remarks

See mapAddToSet().