is.instant
From lubridate v0.1
by Hadley Wickham
Is x a date-time object?
Is x a date-time object?
Usage
is.instant(x)
Arguments
- x
- an R object
Details
date-time object denote instants in time.
Value
- TRUE if x is a POSIXct, POSIXlt, or Date object, FALSE otherwise.
See Also
Examples
is.instant(as.Date("2009-08-03")) # TRUE
is.timepoint(5) # FALSE}
Community examples
Looks like there are no examples yet.