getWithDefault: Return x unless NULL, NA, length 0, ..., in which case we...

View source: R/misc.R

getWithDefaultR Documentation

Return x unless NULL, NA, length 0, ..., in which case we give default

Description

Return x unless NULL, NA, length 0, ..., in which case we give default

Usage

getWithDefault(x, default)

Arguments

x

value to return or its default

default

default value

Value

x or default


gWidgets2 documentation built on April 3, 2025, 6:18 p.m.