check_value_presence: Check for value presence

View source: R/utils.R

check_value_presenceR Documentation

Check for value presence

Description

If value is not present in vector it takes its first value.

Usage

check_value_presence(val, vect, warn_msg = "")

Arguments

val

element of vector vect

vect

vector of values

warn_msg

warning message to be displayed if val not in vect

Value

updated val


shiny.i18n documentation built on Jan. 16, 2023, 5:10 p.m.