Function assertIsHexString

  • Assert that a value is a valid hex string.

    Throws

    If the value is not a valid hex string.

    Parameters

    • value: unknown

      The value to check.

    Returns asserts value is string