Insert element, being either a key-value (map-case) or a just a key (set-case).
If element is a nullable type and it is null an AssertError is thrown.
reference to existing element if present, otherwise new element.
Can be used for implementing, for instance, caching of typically strings.
See Implementation
Insert element, being either a key-value (map-case) or a just a key (set-case).
If element is a nullable type and it is null an AssertError is thrown.