The R Project SVN R

Rev

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

Rev 74897 Rev 75581
Line 24... Line 24...
24
  \code{TRUE} if \code{x} is a (primitive) function, and \code{FALSE}
24
  \code{TRUE} if \code{x} is a (primitive) function, and \code{FALSE}
25
  otherwise.
25
  otherwise.
26
}
26
}
27
\examples{
27
\examples{
28
is.function(1) # FALSE
28
is.function(1) # FALSE
29
is.function(is.primitive)  # TRUE: it is a function, but ..
29
is.function (is.primitive) # TRUE: it is a function, but ..
30
is.primitive(is.primitive) # FALSE:it's not a primitive one, whereas
30
is.primitive(is.primitive) # FALSE: it's not a primitive one, whereas
31
is.primitive(is.function)  # TRUE: that one *is*
31
is.primitive(is.function)  # TRUE: that one *is*
32
}
32
}
33
\keyword{programming}
33
\keyword{programming}