\HeaderA{is.object}{Is an Object ``internally classed''?}{is.object}
\keyword{methods}{is.object}
\keyword{classes}{is.object}
\begin{Description}\relax
A function rather for internal use.  It returns \code{TRUE} if the
object \code{x} has the \R{} internal \code{OBJECT} attribute set, and
\code{FALSE} otherwise.
\end{Description}
\begin{Usage}
\begin{verbatim}
is.object(x)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] object to be tested.
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
\code{is.object} is generic: you can write methods to handle
specific classes of objects, see \LinkA{InternalMethods}{InternalMethods}.
\end{Details}
\begin{SeeAlso}\relax
\code{\LinkA{class}{class}}, and \code{\LinkA{methods}{methods}}.
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
is.object(1) # FALSE
is.object(as.factor(1:3)) # TRUE
\end{ExampleCode}
\end{Examples}

