null-or: Replace null values with default

Description Usage Arguments Value Author(s)

Description

Replace null values with default

Usage

1
x %||% y

Arguments

x

Variable to be tested.

y

Default to use if x is NULL.

Value

If x is NULL, y is returned, otherwise x.

Author(s)

Peter Humburg


humburg/reportmd documentation built on May 17, 2019, 9:13 p.m.