x
R/gregorian-year-month-day.R
is_year_month_day.Rd
Check if x is a year-month-day.
is_year_month_day(x)
[object]
An object.
Returns TRUE if x inherits from "clock_year_month_day", otherwise returns FALSE.
TRUE
"clock_year_month_day"
FALSE
is_year_month_day(year_month_day(2019)) #> [1] TRUE