function sanitizeArrayArgument(arg) {
  const result = toArray(arg);

  return result.map((v) => (typeof v === "string" ? v.toUpperCase() : v));
}
Sanitize an array argument, converting it from a string if necessary
@param  {Array|String} arg
@returns {Array}