\Header{typeof}{The Type of an Object}
\keyword{attribute}{typeof}
\begin{Description}\relax
\code{typeof} determines the (\R{} internal)
type or storage mode of any object
\end{Description}
\begin{Usage}
\begin{verbatim}
typeof(x)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] any \R{} object.
\end{ldescription}
\end{Arguments}
\begin{Value}
A character string.
\end{Value}
\begin{SeeAlso}\relax
\code{\Link{mode}}, \code{\Link{storage.mode}}.
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
typeof(2)
mode(2)
\end{ExampleCode}
\end{Examples}

