arbitrate.default: Arbitrate Default

View source: R/dvec.R

arbitrate.defaultR Documentation

Arbitrate Default

Description

Arbitrates two attributes, the first of which is non-NULL and non-list. If y is list, x is promoted to list and re-arbitrated thus. Otherwise, x is returned, with warning if y not identical and not NULL.

Usage

## Default S3 method:
arbitrate(x, y, tag = "", ...)

Arguments

x

left attribute

y

right attribute

...

passed arguments

Value

list if y is list, else x


bergsmat/yamlet documentation built on Feb. 18, 2024, 5:50 a.m.