is.difftime
From lubridate v1.2.0
by Garrett Grolemund
Is x a difftime object?
Is x a difftime object?
Usage
is.difftime(x)
Arguments
- x
- an R object
Value
- TRUE if x is a difftime object, FALSE otherwise.
See Also
Examples
is.difftime(as.Date("2009-08-03")) # FALSE
is.difftime(new_difftime(days = 12.4)) # TRUE
Community examples
Looks like there are no examples yet.