Is x a difftime object?
Examples
is.difftime(as.Date("2009-08-03")) # FALSE
#> [1] FALSE
is.difftime(make_difftime(days = 12.4)) # TRUE
#> [1] TRUE
Is x a difftime object?
is.difftime(as.Date("2009-08-03")) # FALSE
#> [1] FALSE
is.difftime(make_difftime(days = 12.4)) # TRUE
#> [1] TRUE