Function isValidSpanId

  • Is the provided W3c span id (aka. parent id) a valid string representation, it must be a 16-character string of lowercase hexadecimal characters, for example, 00f067aa0ba902b7. If all characters are zero (0000000000000000) this is considered an invalid value.

    Parameters

    • value: string

      The W3c span id to be validated

    Returns boolean

    true if valid otherwise false

Generated using TypeDoc