The URL to check.
Returns true if the given string is a valid URL, else false.
If you are specifically checking for HTTP/HTTPS URLs, it is recommended to use the isValidHttpUrl function instead.
The isValidUrl function matches all scheme URLs, including FTP and other non-HTTP schemes.
Checks if the given string is a valid URL, including scheme URLs.
Usage:
Output: