Small helper function to verify whether an object is of class Date or POSIXct.
Examples
is_date(as.Date("2023-09-03"))
#> [1] TRUE
Small helper function to verify whether an object is of class Date or POSIXct.
is_date(as.Date("2023-09-03"))
#> [1] TRUE