Contents

ArgumentMatcher.oneOf(argumentName:allowedValues:)

A value that indicates the argument must be present with a value that matches one of the allowed values.

Declaration

case oneOf(argumentName: String, allowedValues: [ArgumentValue])

Parameters

  • argumentName:

    The name of the argument to validate.

  • allowedValues:

    The set of values the argument must match one of.

Mentioned in

See Also

Set and range matching