% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/internal.R
\name{.extract_nimble_code}
\alias{.extract_nimble_code}
\title{Extract nimbleCode from bundle code}
\usage{
.extract_nimble_code(code)
}
\description{
Extract nimbleCode from bundle code
}
\details{
Bundle objects may store generated NIMBLE code either directly as a
\code{nimbleCode} object or inside a small wrapper list used for package storage.
This helper normalizes those storage conventions so downstream code can work
with the underlying code object without repeatedly checking both cases.
}
\keyword{internal}
