subscript(_:)

Returns the first metric whose Metric/name equals the given metric’s name, or nil if not found.

Declaration

subscript(metric: Metric) -> Metric? { get }