text_is_non_zero_string: Input is non-empty string

View source: R/utils_text_is_valid_input.R

text_is_non_zero_stringR Documentation

Input is non-empty string

Description

must be in server

Usage

text_is_non_zero_string(text, test_custom_function = NULL)

Arguments

text

input text to assert is a string (string)

test_custom_function

a function which takes the value of the textInput and returns TRUE/FALSE depending on whether it meets expectations. If supplied, textInput value must be a non-emptystring AND pass the custom function's test(function)

Value

True if valid text is found in. FALSE if it is not (flag)


CCICB/CRUX documentation built on Jan. 28, 2024, 10:12 p.m.