IsXsUnsignedInt🔗

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

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

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

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

Code

return matches_xs_unsigned_int(text) and _is_integer_in_range(
    text, "0", "4294967295"
)