is_url {msgr} | R Documentation |
Checks whether the variable is a valid URL
is_url(x)
x |
(any) The object to test |
TRUE if x is a valid URL, FALSE otherwise
is_url("http://something.com")
is_url("https://google.com")
is_url(1)
is_url("foo")
is_url(NA)