damian
07/24/2017, 7:32 PMget
operator is operator fun get(key: K): V?
, where null
is returned if the key is not found.kingsley
07/24/2017, 9:18 PMmap.getValue(key)
which return NotNull
as you expect. Downside is that you won’t be able to use the square brace syntax