check_string {hydrotoolbox} | R Documentation |
Check string argument consistency
Description
Check string argument consistency
Usage
check_string(argument, target, arg_name)
Arguments
argument |
the argument to evaluate. |
target |
allowed string values. |
arg_name |
string with argument name to print (just for error message) |
Value
An error message if argument does not fit the target requirements
[Package hydrotoolbox version 1.1.2 Index]