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/ATACFlow documentation built on Aug. 9, 2022, 2:24 a.m.