% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/60-interval_index-query-api.R
\name{max_endpoint}
\alias{max_endpoint}
\title{Maximum Right Endpoint}
\usage{
max_endpoint(x)
}
\arguments{
\item{x}{An \code{interval_index}.}
}
\value{
Maximum right endpoint, or \code{NULL} when \code{x} is empty.
}
\description{
Returns the largest right endpoint (\code{end}) currently present.
}
\details{
Uses cached \code{.ivx_max_end} monoid state.
}
\examples{
ix <- interval_index("a", "b", start = c(3, 1), end = c(4, 2))
max_endpoint(ix)
max_endpoint(interval_index())
}
