Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (17 sloc) 534 Bytes
\name{is.interval}
\alias{is.interval}
\title{Is x an interval object?}
\usage{is.interval(x)}
\description{
Is x an interval object?
}
\value{TRUE if x is an interval object, FALSE otherwise.}
\seealso{\code{\link{is.instant}}, \code{\link{is.timespan}}, \code{\link{is.period}},
\code{\link{is.duration}}, \code{\link{interval}}}
\keyword{logic}
\keyword{chron}
\arguments{
\item{x}{an R object}
}
\examples{is.interval(new_period(months= 1, days = 15)) # FALSE
is.interval(new_interval(ymd(20090801), ymd(20090809))) # TRUE}
Something went wrong with that request. Please try again.