Validates a hex string.
Checks whether all characters following an optional "0x" suffix are valid hexadecimal digits.
hexdecimal encoded byte array
true = if valid
assert(isHexString("0x0123456789ABCDEFabcdef")); assert(isHexString("0123456789ABCDEFabcdef")); assert(!isHexString("g")); assert(!isHexString("#"));
See Implementation
Validates a hex string.
Checks whether all characters following an optional "0x" suffix are valid hexadecimal digits.