Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Metric<string, string>
    • StringMetric

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Protected _inner

_inner: string

Methods

get

  • get(): string

payload

  • payload(): string

set

  • set(v: unknown): void
  • Sets this metrics value.

    throws

    In case the metric is not in the expected format.

    Parameters

    • v: unknown

      The value to set, must be in the exact internal representation of this metric.

    Returns void

validate

  • validate(v: unknown): v is string
  • Validates that a given value is in the correct format for this metrics internal representation.

    Parameters

    • v: unknown

    Returns v is string

    A special Typescript value (which compiles down to a boolean) stating whether v is of the correct type.

Generated using TypeDoc