tion class="s2" id="/api/metrics/interfaces/metrics/metrics/methods/iterator/foreachmetric/" data-id="fEM"><h2><code>forEachMetric</code></h2><p>The <code>forEachMetric</code> method takes a function that it will then call for each <a href="/api/metrics/type-aliases/metric/metric/"><code>Metric</code></a> in the <a href="/api/metrics/interfaces/metrics/metrics/"><code>Metrics</code></a> object. <a href="/api/metrics/interfaces/metrics/metrics/methods/iterator/foreachmetric/">Read more</a>.</p></section></se