isValidUrl

Checks whether a given url is valid or not.

bool
isValidUrl
(
string url
)

Parameters

url string

The url to validate.

Return Value

Type: bool

True if the url is valid, false otherwise.

Meta