Skip to contents

Returns the left-hand side if not NULL, otherwise the right-hand side.

Usage

x %||% y

Arguments

x

Left-hand side value.

y

Right-hand side value (default).

Value

x if not NULL, otherwise y.