SetIfNull: Set a default value if an object is null

View source: R/scUtilities.R

SetIfNullR Documentation

Set a default value if an object is null

Description

Set a default value if an object is null

Usage

SetIfNull(x, y)

Arguments

x

An object to set if it's null

y

The value to provide if x is null

Value

Returns y if x is null, otherwise returns x.


wzthu/esATAC documentation built on Aug. 12, 2022, 7:41 a.m.