| match_arg {filesstrings} | R Documentation |
See strex::match_arg().
match_arg(arg, choices, index = FALSE, several_ok = FALSE, ignore_case = FALSE)
arg |
A character vector (of length one unless |
choices |
A character vector of candidate values. |
index |
Return the index of the match rather than the match itself? Default no. |
several_ok |
Allow |
ignore_case |
Ignore case while matching. Default no. If this is |