is_weekday {clock} | R Documentation |
Is x
a weekday?
Description
This function determines if the input is a weekday object.
Usage
is_weekday(x)
Arguments
x |
An object. |
Value
TRUE
if x
inherits from "clock_weekday"
, otherwise FALSE
.
Examples
is_weekday(1)
is_weekday(weekday(1))
[Package clock version 0.7.1 Index]