case_insensitive_match_arg function

Works like match.arg but ignores case

Works like match.arg but ignores case

case_insensitive_match_arg(arg, choices)

Arguments

  • arg: argument to match that should be declared as a character vector containing possible values
  • choices: argument to choose from (OPTIONAL)

Returns

matched arg

  • Maintainer: Tomas Fryda
  • License: Apache License (== 2.0)
  • Last published: 2024-01-11