% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/phase-spec.R
\name{.hzr_validate_phases}
\alias{.hzr_validate_phases}
\title{Validate a list of phase specifications}
\usage{
.hzr_validate_phases(phases)
}
\arguments{
\item{phases}{A list of \code{hzr_phase} objects.}
}
\value{
The validated (and possibly auto-named) list, invisibly.
}
\description{
Checks that \code{phases} is a non-empty named list of \code{hzr_phase} objects.
Auto-names unnamed phases as \code{phase_1}, \code{phase_2}, etc.
}
\keyword{internal}
