drop_null: Drop list elements with value 'NULL'

View source: R/drop.R

drop_nullR Documentation

Drop list elements with value NULL

Description

Drop list elements with value NULL

Usage

drop_null(x)

Arguments

x

Details

See:

  • drop_null.list()

Value

(list) Cleaned list

Examples

x <- list(
    foo = list(bar = NULL, baz = list(x = 1, y = NULL, z = 3)),
    bar = 2,
    baz = NULL
)
drop_null(x)

rappster/drop documentation built on May 16, 2022, 12:25 a.m.