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