% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/30-api-flexseq-ends.R
\name{peek_front}
\alias{peek_front}
\title{Peek at the Front Element}
\usage{
peek_front(x)
}
\arguments{
\item{x}{A \code{flexseq}.}
}
\value{
First element, or \code{NULL} when \code{x} is empty.
}
\description{
Returns the first element without modifying the sequence.
}
\details{
Returns the payload element without modifying \code{x}.
}
\examples{
x <- flexseq("a", "b", "c")
peek_front(x)

peek_front(flexseq())
}
