get_join_value: Determine the Join Value

View source: R/helpers.R

get_join_valueR Documentation

Determine the Join Value

Description

Returns a non-NA/non-NULL value based on the inputs. If either value is NA or NULL, it returns the non-NA/non-NULL value. If both values are equal, it returns that value.

Usage

get_join_value(x, y)

Arguments

x

A value to be compared.

y

A value to be compared.

Value

A non-NA/non-NULL value or the common value if x equals y. Returns NULL if the values differ and neither is NA or NULL.


SerolyzeR documentation built on April 12, 2025, 2:11 a.m.