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/ATACpipe documentation built on Aug. 12, 2022, 7:38 a.m.