Examples for 'lubridate::is.timespan'


Is x a length of time?

Aliases: is.timespan

Keywords: chron logic

### ** Examples

is.timespan(as.Date("2009-08-03")) # FALSE
[1] FALSE
is.timespan(duration(second = 1)) # TRUE
[1] TRUE

[Package lubridate version 1.8.0 Index]