check_value_presence {shiny.i18n}R 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


[Package shiny.i18n version 0.3.0 Index]