The R Project SVN R

Rev

Rev 23613 | Rev 31819 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 r 1
\name{is.function}
7125 hornik 2
\alias{is.function}
2 r 3
\title{Is an Object of Type Function?}
4
\usage{is.function(x)}
7125 hornik 5
\description{Checks whether its argument is a function.}
6
\arguments{
7
  \item{x}{an \R object.}
2 r 8
}
23358 ripley 9
\details{
10
  \code{is.function} is generic: you can write methods to handle
27625 ripley 11
  specific classes of objects, see \link{InternalMethods}.
23358 ripley 12
}
7125 hornik 13
\value{\code{TRUE} if \code{x} is a function, and \code{FALSE}
14
  otherwise.}
15
}
286 maechler 16
\keyword{programming}