vertx / io.vertx.reactivex.core.shareddata / LocalMap / getOrDefault

# getOrDefault

`open fun getOrDefault(key: Any, defaultValue: V): V`

Returns the value to which the specified key is mapped, or `defaultValue` if this map contains no mapping for the key.

### Parameters

`key` - the key whose associated value is to be returned

`defaultValue` - the default mapping of the key

Return
the value to which the specified key is mapped, or `defaultValue` if this map contains no mapping for the key