MapOrEmpty<K, V> extension

on

Methods

orEmpty() Map<K, V>

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

Returns the Map if its not null, or the empty Map otherwise.