% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fit_utils.R
\name{is_surv_outcome}
\alias{is_surv_outcome}
\title{Check if outcome is a Surv() expression}
\usage{
is_surv_outcome(outcome)
}
\arguments{
\item{outcome}{Character string of the outcome specification.}
}
\value{
Logical \code{TRUE} if outcome starts with "Surv(", \code{FALSE} otherwise.
}
\description{
Tests whether an outcome specification string represents a survival outcome
by checking for the Surv() function pattern. Used to route model fitting
to Cox proportional hazards methods.
}
\keyword{internal}
