IsXsUnsignedShort🔗

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

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

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

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

Code

return matches_xs_unsigned_short(text) and _is_integer_in_range(text, "0", "65535")