powered by
x
This function determines if the input is a weekday object.
is_weekday(x)
TRUE if x inherits from "clock_weekday", otherwise FALSE.
TRUE
"clock_weekday"
FALSE
[object]
An object.
is_weekday(1) is_weekday(weekday(1))
Run the code above in your browser using DataLab