Skip to contents

Check if an argument is url string

Usage

is_url(x)

Arguments

x

(any)
Object to check.

Value

TRUE if x is a valid URL string, FALSE otherwise.

Examples

is_url("https://example.com")
#> [1] TRUE