• Validates that a given value is in the correct internal representation format for a metric of a given type.

    Type Parameters

    Parameters

    • type: string

      The type of the metric to validate

    • v: unknown

      The value to verify

    Returns v is T

    Whether or not v is of the correct type.

Generated using TypeDoc