is_list_element_null: Check to see if elements of a list are null

Description Usage Arguments Details Value Examples

Description

Check to see if elements of a list are null

Usage

1
is_list_element_null(lst, keep_names = FALSE)

Arguments

lst

Any list

Details

is.null does not work to check individual elements of a list. This function does that an returns a logical vector the length of lst stating whether each element of lst is null (TRUE) or not (FALSE)

Value

A logical vector of length lst

Examples

1
is_list_element_null(list(a = 1, b = 2, c = NULL, d = NULL))

inspktrgadget/gadgetSim documentation built on May 10, 2019, 9:51 a.m.