excludeNULL: Exclude all NULL Entries from a List

View source: R/list.R

excludeNULLR Documentation

Exclude all NULL Entries from a List

Description

Exclude all NULL Entries from a List

Usage

excludeNULL(x, dbg = TRUE)

Arguments

x

a list

dbg

if TRUE (default) a message is shown if elements are removed

Value

list x with all NULL entries excluded

Examples

L <- list(a = 1, b = NULL, c = "three")
L

excludeNULL(L)


KWB-R/kwb.utils documentation built on April 1, 2024, 7:12 a.m.