coalesce: Return first non null argument.

View source: R/internal.R

coalesceR Documentation

Return first non null argument.

Description

This function is useful when processing complex arguments with multiple possible defaults based on other arguments that may or may not have been provided.

Usage

coalesce(...)

Arguments

...

List of values.

Value

First non null element in ....

Author(s)

Olaf Mersmann


joshuaulrich/microbenchmark documentation built on Feb. 26, 2024, 5:23 p.m.