Learn R Programming

leakr (version 0.1.0)

grapes-or-or-grapes: Null-coalescing operator for clean default value handling

Description

Null-coalescing operator for clean default value handling

Usage

x %||% y

Value

x if not NULL, otherwise y

Arguments

x

First value to check

y

Fallback value if x is NULL