Learn R Programming

upstartr (version 0.1.0)

not.null: Opposite of is.null

Description

Given a list, returns TRUE for all entities that aren't NULL.

Usage

not.null(x)

Arguments

x

A vector to check for NULLs against.

Value

Elements that aren't NULL

Examples

Run this code
# NOT RUN {
not.null(list(1, NULL, 2, NULL))

# }

Run the code above in your browser using DataLab