ifnotlen0 {formatters} | R Documentation |
%||%
(if length-0) alternative operator
Description
%||%
(if length-0) alternative operator
Usage
a %||% b
Arguments
a |
( |
b |
( |
Value
a
if it is not of length 0, otherwise b
.
Examples
6 %||% 10
character() %||% "hi"
NULL %||% "hi"
[Package formatters version 0.5.8 Index]