rk.set.empty.e: Globally define handling of empty else conditions in JS

View source: R/rk.set.empty.e.R

rk.get.empty.eR Documentation

Globally define handling of empty else conditions in JS

Description

Some JS functions allow to decide whether empty else statements should be omitted or printed nonetheless (which some consider more reader friendly). The default can be globally defined with rk.set.empty.e, so you don't have to specify it in each function call.

Usage

rk.get.empty.e()

rk.set.empty.e(empty = FALSE)

Arguments

empty

Logical, whether .

Details

rk.get.empty.e returns the set value, which defaults to FALSE by default.

Value

rk.set.empty.e returns invisible(NULL), rk.get.empty.e either TRUE or FALSE.


rkward-community/rkwarddev documentation built on May 9, 2022, 3:02 p.m.