falsy: Default Value for Falsy

falsyR Documentation

Default Value for Falsy

Description

Replaces a falsy value with a default value.

Usage

x %|||% y

Arguments

x, y

An object.

Value

If x is not truthy, returns y; otherwise returns x.


kinesis documentation built on Sept. 9, 2025, 5:37 p.m.