grapes-or-grapes: perl/javascript style "or"

Description Usage Arguments Value Author(s)

Description

returns the first argument, if FALSE or of length 0; otherwise the second.

Usage

1
x %or% y

Arguments

x

first argument, of any class

y

second argument, of any class

Value

x, unless x is either the logical scalar FALSE, or has length 0, in which case return y. Note that length(NULL) is 0.

Author(s)

John Brzustowski jbrzusto@REMOVE_THIS_PART_fastmail.fm


jbrzusto/motusServer documentation built on May 19, 2019, 8:19 a.m.