R/paths.R
is_web_path.Rd
Check if a path starts with http:// or https:// or ftp:// or ftps://.
http://
https://
ftp://
ftps://
is_web_path(x)
A vector of paths.
A logical vector.
xfun::is_web_path("https://www.r-project.org") # TRUE #> [1] TRUE xfun::is_web_path("www.r-project.org") # FALSE #> [1] FALSE