Checks if the given URL can be parsed by the URL class. Note that this is pretty strict: many values which can be correctly handled by parseUrl will fail this. (For example, the protocol must be included for this to pass.)
URL
parseUrl
Checks if the given URL can be parsed by the
URL
class. Note that this is pretty strict: many values which can be correctly handled byparseUrl
will fail this. (For example, the protocol must be included for this to pass.)