MetricCallback
The MetricCallback
type describes a function that takes a Metric
's Id
and a callback to loop over each Row
within it.
(
metricId: Id,
metric?: Metric,
): void
A MetricCallback
is provided when using the forEachMetric
method, so that you can do something based on every Metric
in the Metrics
object. See that method for specific examples.
Since
v1.0.0