is.null {base} R Documentation

The Null Object

Description


NULL represents the null object in R: it is a reserved word.
NULL is often returned by expressions and functions whose
value is undefined.

is.null is a primitive function.

Usage

is.null(x,
    els = FALSE);

Arguments

x

an object to be tested or coerced.

els

does function test for the elements inside x, not the given object x?. [as boolean]

Details

NULL can be indexed (see Extract) in just about any syntactically legal way: whether it makes sense or not, the result is always NULL. Objects with value NULL can be changed by replacement operators and will be coerced to the type of the right-hand side. NULL Is also used as the empty pairlist: see the examples. Because pairlists are often promoted To lists, you may encounter NULL being promoted To an empty list. Objects with value NULL cannot have attributes as there Is only one null object attempts to assign them are either an error (attr) Or promote the object to an empty list with attribute(s) (attributes And structure).

Authors

SMRUCC genomics Institute

Value

is.null returns TRUE if its argument's value is NULL and FALSE otherwise.

clr value class

Examples


[Package base version 2.33.856.6961 Index]