is.interval

0th

Percentile

Is x an Interval object?

Is x an Interval object?

Keywords
logic, chron
Usage
is.interval(x)
Arguments
x
an R object
Value

  • TRUE if x is an Interval object, FALSE otherwise.

See Also

is.instant, is.timespan, is.period, is.duration, Interval-class

Aliases
  • is.interval
Examples
is.interval(new_period(months= 1, days = 15)) # FALSE
is.interval(new_interval(ymd(20090801), ymd(20090809))) # TRUE
Documentation reproduced from package lubridate, version 1.2.0, License: GPL

Community examples

Looks like there are no examples yet.