is_weekend.Rd
Is x a weekend?
is_weekend(x)
a POSIXct, POSIXlt, Date, chron, yearmon, yearqtr, zoo, zooreg, timeDate, xts, its, ti, jul, timeSeries, or fts object.
boolean indicating whether x is a weekend
is_weekend("2017-08-29") # FALSE
#> [1] FALSE
is_weekend("2017-09-02") # TRUE
#> [1] TRUE