IsXsUnsignedByte🔗

Type: Transpilable verification function
Check that text is a valid xs:unsignedByte.

We check that the text matches the pattern of xs:unsignedByte, and that the number is within the range of xs:unsignedByte.

See: https://www.w3.org/TR/xmlschema-2/#unsignedByte

text🔗
Text to be checked
Return🔗
True if the text is a valid xs:unsignedByte

Code

return matches_xs_unsigned_byte(text) and _is_integer_in_range(text, "0", "255")