null: Default value for NULL

nullR Documentation

Default value for NULL

Description

Replaces NULL with a default value.

Usage

x %||% y

Arguments

x, y

An object.

Value

If x is NULL, returns y; otherwise returns x.

See Also

Other utilities: concat


arkhe documentation built on Nov. 17, 2023, 5:09 p.m.