% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils-validation.R
\name{expand_param}
\alias{expand_param}
\title{Expand Parameter to Length (Strict)}
\usage{
expand_param(x, n, name = "parameter")
}
\arguments{
\item{x}{Value to expand.}

\item{n}{Target length.}

\item{name}{Parameter name for error message.}
}
\value{
Vector of length n.
}
\description{
Expands a parameter to length n. Only accepts length 1 or length n.
Throws error for any other length (no silent recycling).
}
\keyword{internal}
