Newer
Older
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/simulation_initialization.R
\name{already_init_variable}
\alias{already_init_variable}
\title{Check if Variable is Already Initialized}
\usage{
already_init_variable(list_var, new_var_name)
}
\arguments{
\item{list_var}{A list object representing the variable list.}
\item{new_var_name}{A character string specifying the name of the new variable.}
}
\value{
TRUE if the variable is already initialized, FALSE otherwise.
}
\description{
This function checks if a variable is already initialized in the variable list.
}
\examples{
my_list <- list(var1 = 1, var2 = 2, var3 = 3)
already_initialized <- already_init_variable(list_var = my_list, new_var_name = "myVariable")
}