is.period

0th

Percentile

Is x a period object?

Is x a period object?

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

  • TRUE if x is a period object, FALSE otherwise.

See Also

is.instant, is.timespan, is.interval, is.duration, period

Aliases
  • is.period
Examples
is.period(as.Date("2009-08-03")) # FALSE
is.period(new_period(months= 1, days = 15)) # TRUE
Documentation reproduced from package lubridate, version 1.2.0, License: GPL

Community examples

Looks like there are no examples yet.