R/vld.R

Defines functions vld_interval_regex vld_time_regex

vld_time_regex <- function(x) {
  vld_string(x) && str_detect(x, complete_regex(time_regex()))
}

vld_interval_regex <- function(x) {
  vld_string(x) && str_detect(x, complete_regex(interval_regex()))
}
poissonconsulting/openinghours documentation built on July 28, 2020, 4:36 p.m.