Validates that the metric is not NULL.

validate_metric(metric)

Arguments

metric

The metric to validate.

Value

None. Throws an error if the metric is NULL.