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


tesselle/arkhe documentation built on Feb. 1, 2025, 9:24 a.m.