ref="/api/metrics/interfaces/metrics/metrics/"><code>Metrics</code></a></li><li><a href="/api/metrics/interfaces/metrics/metrics/methods/getter/">Getter methods</a></li><li><a href="/api/metrics/interfaces/metrics/metrics/methods/getter/hasmetric/"><code>hasMetric</code></a></li></ul></nav><section class="s1" id="/api/metrics/interfaces/metrics/metrics/methods/getter/hasmetric/" data-id="hM"><h1><code>hasMetric</code></h1><p>The <code>hasMetric</code> method returns a boolean indicating whether a given <a h