Learn R Programming

upstartr (version 0.1.2)

not.null: Opposite of is.null

Description

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

Usage

not.null(x)

Value

Elements that aren't NULL

Arguments

x

A vector to check for NULLs against.

Examples

Run this code
not.null(list(1, NULL, 2, NULL))

Run the code above in your browser using DataLab