powered by
Check if an object is a date class
is_date_class(x)
Logical (TRUE/FALSE)
A vector to check
library(dplyr) tk_make_timeseries("2011") %>% is_date_class() letters %>% is_date_class()
Run the code above in your browser using DataLab