MapOps<K, V> extension

on

Methods

updateWith(K k) Map<K, V> Function(V? (V?))

Available on Map<K, V>, provided by the MapOps extension

update element if key-value pair exists returned value is some.