is_weekday: Is x a weekday?

View source: R/instants.R

is_weekdayR Documentation

Is x a weekday?

Description

Is x a weekday?

Usage

is_weekday(x)

Arguments

x

a POSIXct, POSIXlt, Date, chron, yearmon, yearqtr, zoo, zooreg, timeDate, xts, its, ti, jul, timeSeries, or fts object.

Value

boolean indicating whether x is a weekday

Examples

is_weekday("2017-08-29") # FALSE
is_weekday("2017-09-02") # TRUE

ellisvalentiner/lubridateExtras documentation built on March 31, 2022, 8:52 a.m.