typeof
, so
operate at a level beneath S3/S4 etc.
is_list(x, n = NULL)
is_atomic(x, n = NULL)
is_vector(x, n = NULL)
is_integer(x, n = NULL)
is_double(x, n = NULL)
is_character(x, n = NULL)
is_logical(x, n = NULL)
is_null(x)
n
argument
for pattern-matching on the vector length.
is.atomic()
, is_atomic()
does not
return TRUE
for NULL
.
is.vector()
, is_vector()
test if an
object is an atomic vector or a list. is.vector
checks
for the presence of attributes (other than name).
is_function()
returns TRUE
only for regular
functions, not special or primitive functions.