grapes-or-grapes: Supply Default Values

%or%R Documentation

Supply Default Values

Description

Set the default value when not provided in a list

Usage

spec_val %or% default_val

Arguments

spec_val

The specified value to use (assuming it's provided)

default_val

The value to use as the default

Value

A value dependent on if the left-hand value is provided, or the default value specified on the right hand side


sportyR documentation built on Aug. 8, 2025, 6:17 p.m.