is.function {base} | R Documentation |
Checks whether its argument is a function.
is.function(x)
x |
an R object. |
is.function
is generic: you can write methods to handle
specific classes of objects, see InternalMethods.
TRUE
if x
is a function, and FALSE
otherwise.