The R Project SVN R

Rev

Rev 31819 | Rev 42333 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 31819 Rev 33658
Line 13... Line 13...
13
\details{
13
\details{
14
  \code{is.function} is generic: you can write methods to handle
14
  \code{is.function} is generic: you can write methods to handle
15
  specific classes of objects, see \link{InternalMethods}.
15
  specific classes of objects, see \link{InternalMethods}.
16
 
16
 
17
  \code{is.primitive(x)} tests if \code{x} is a primitive function
17
  \code{is.primitive(x)} tests if \code{x} is a primitive function
18
  (either a \code{"builtin"} or \code{"special"}, see \code{\link{typeof}})?
18
  (either a \code{"builtin"} or \code{"special"} as from \code{\link{typeof}})?
19
}
19
}
20
\value{
20
\value{
21
  \code{TRUE} if \code{x} is a (primitive) function, and \code{FALSE}
21
  \code{TRUE} if \code{x} is a (primitive) function, and \code{FALSE}
22
  otherwise.
22
  otherwise.
23
}
23
}