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. 22, 2024, 8:18 p.m.