%ss% {thisutils} | R Documentation |
Value selection operator
Description
This operator returns the left side if it's not NULL, otherwise it returns the right side.
Usage
a %ss% b
Arguments
a |
The left side value to check |
b |
The right side value to use if a is NULL |
Value
a if it is not NULL, otherwise b
Examples
NULL %ss% 10
5 %ss% 10
[Package thisutils version 0.0.7 Index]