nullna_or: Empty string if input is 'NULL'

View source: R/utils.R

nullna_orR Documentation

Empty string if input is NULL

Description

If x is NULL, then an empty string, otherwise the value of expr.

Usage

nullna_or(x, expr)

Arguments

x

Condition.

expr

Expression.

Value

Expression or an empty string.


metacran/cranatgh documentation built on Feb. 11, 2024, 2:20 p.m.