op-null-default: Default value for 'NULL'

Description Usage Arguments

Description

This infix function makes it easy to replace 'NULL's with a default value. It's inspired by the way that Ruby's or operation ('||') works. Copied from the rlang package.

Usage

1
x %||% y

Arguments

x, y

If 'x' is NULL, will return 'y'; otherwise returns 'x'.


aws.lambda documentation built on April 17, 2020, 1:15 a.m.