isUrl

Deprecated: Use the native "URL.canParse" method instead.

Checks if given string is a valid URL

Example