Skip to contents

Shorthand operator for NULL fallback

Usage

lhs %||% rhs

Arguments

lhs

lhs for null-or operation

rhs

rhs for null-or operation

Examples

`%||%` <- shinyDataFilter:::`%||%`

NULL %||% 1
#> [1] 1
# [1] 1

1 %||% 2
#> [1] 1
# [1] 1