x
R/event-in.R
event_in.Rd
event_in() checks if x is in the set of dates defined by event.
event_in()
event
event_in(x, event)
[Date]
A vector of dates.
[event]
An event.
event_in("2019-01-01", on_mday(1))#> [1] TRUE event_in("2019-01-01", on_mday(1) & on_wday("Mon"))#> [1] FALSE