Skip to contents

Returns x if not NULL, otherwise y.

Usage

x %||% y

Arguments

x

Value to check

y

Default value if x is NULL

Value

x if not NULL, otherwise y