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.


r-hub/cranatgh documentation built on Jan. 30, 2025, 9:45 a.m.