Skip to contents

Null-coalescing Operator

Usage

x %||% y

Arguments

x

First value

y

Alternative value if x is NULL

Value

x if not NULL, otherwise y