op-null-default {aws.lambda}R Documentation

Default value for 'NULL'

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

x %||% y

Arguments

x, y

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


[Package aws.lambda version 0.2.0 Index]