MapExt<K, V extends Object> extension

on

Properties

noneIfEmpty Option<Map<K, V>>

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

Returns this map wrapped in a Some if it's not empty, otherwise returns None.
no setter

Methods

getOption(K key) Option<V>

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

Safely gets the value for a given key, returning an Option.