Checks if a value is a valid URI.
Validates URIs according to RFC 3986, restricting identifiers to ASCII characters only.
The value to validate as a URI
The identifier variant to validate against (default: "relative")
"relative"
true if the value is a valid ASCII-only URI matching the specified variant; false otherwise
true
false
Checks if a value is a valid URI.
Validates URIs according to RFC 3986, restricting identifiers to ASCII characters only.