grapes-or-or-grapes: Null coalescing operator

grapes-or-or-grapesR Documentation

Null coalescing operator

Description

Provides null coalescing functionality, returning the first non-NULL argument

Provides null coalescing functionality, returning the first non-NULL argument

Usage

a %||% b

a %||% b

Arguments

a

First value to check

b

Second value (default) to use if first is NULL

Details

\

\

Value

Returns a if not NULL, otherwise returns b

Returns a if not NULL, otherwise returns b


textAnnotatoR documentation built on April 3, 2025, 7:35 p.m.