% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/60-interval_index-query-api.R
\name{min_endpoint}
\alias{min_endpoint}
\title{Minimum Left Endpoint}
\usage{
min_endpoint(x)
}
\arguments{
\item{x}{An \code{interval_index}.}
}
\value{
Minimum left endpoint, or \code{NULL} when \code{x} is empty.
}
\description{
Returns the smallest left endpoint (\code{start}) currently present.
}
\details{
Because intervals are stored in start order, this reads the first entry's
\code{start}.
}
\examples{
ix <- interval_index("a", "b", start = c(3, 1), end = c(4, 2))
min_endpoint(ix)
min_endpoint(interval_index())
}
