is.function returns TRUE if x is a function and FALSE otherwise.
is.function
TRUE
x
FALSE
is.function(x)