Contents

ArgumentMatcher.contains(argumentName:substring:)

A value that indicates that the argument must be present and its string value must contain the specified substring.

Declaration

case contains(argumentName: String, substring: String)

Parameters

  • argumentName:

    The name of the argument to validate.

  • substring:

    The substring the argument’s string value must contain.

See Also

String matching