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

not.null(x)

Arguments

x

A vector to check for NULLs against.

Value

Elements that aren't NULL

Examples

not.null(list(1, NULL, 2, NULL))
#> [1] TRUE