is.difftime

0th

Percentile

Is x a difftime object?

Is x a difftime object?

Keywords
logic, chron
Usage
is.difftime(x)
Arguments
x

an R object

Value

TRUE if x is a difftime object, FALSE otherwise.

See Also

is.instant(), is.timespan(), is.interval(), is.period().

Aliases
  • is.difftime
Examples
# NOT RUN {
is.difftime(as.Date("2009-08-03")) # FALSE
is.difftime(make_difftime(days = 12.4)) # TRUE
# }
Documentation reproduced from package lubridate, version 1.7.4, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.