is.function {base} R Documentation

Is an Object of Type (Primitive) Function?

Description


Checks whether its argument is a (primitive) function.

Usage

is.function(x);

Arguments

x

an R object.

Details

is.primitive(x) tests if x is a primitive function, i.e, if typeof(x) is either "builtin" or "special".

Authors

SMRUCC genomics Institute

Value

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

clr value class

Examples


[Package base version 2.33.856.6961 Index]