Arguments
- type
Type of the variable c("char", "int") (character)
- x
Variable
Value
Returns NA if variable is null or empty, returns the variable if not null & not empty
Examples
coalesce2("char", "my_char")
#> Error in coalesce2("char", "my_char"): could not find function "coalesce2"