powered by
x
Check if x is a year-month-day.
is_year_month_day(x)
Returns TRUE if x inherits from "clock_year_month_day", otherwise returns FALSE.
TRUE
"clock_year_month_day"
FALSE
[object]
An object.
is_year_month_day(year_month_day(2019))
Run the code above in your browser using DataLab