get

operator fun <T : Metric> get(key: MetricKey<T>): T?

Returns the metric stored under key, or null if absent.