getIfPresent

abstract fun getIfPresent(key: Key): Value?

Return

Value associated with key or null if there is no cached value for key.