OR: Piped OR

Description Usage Arguments Value Examples

Description

LHS if not NULL, otherwise RHS

Usage

1
l %||% r

Arguments

l

LHS.

r

RHS.

Value

LHS if not NULL, otherwise RHS.

Examples

1
2
3
x <- list(b = 2, c = 3)
x$a %||% x$b %||% x$c
x$a %||% "default_value"

facelab/webmorph documentation built on April 11, 2021, 6:34 a.m.