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