R/web.R

Defines functions is_url

Documented in is_url

#' Is string a URL?
#' @param str the string
#' @export
is_url <- function(str){
  grepl("^(http:|https:|www.)", str)
}
crubba/crmisc documentation built on May 14, 2019, 12:05 p.m.