MapX<K, V> extension

on

Methods

getOrCompute<T>(K key, T computation()) → T

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

getOrDefault<T>(K key, T defaultValue) → T

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