Contents

ArgumentMatcher.hasPrefix(argumentName:prefix:)

A value that indicates that the argument must be present and its string value must start with the specified prefix.

Declaration

case hasPrefix(argumentName: String, prefix: String)

Parameters

  • argumentName:

    The name of the argument to validate.

  • prefix:

    The string the argument’s value must start with.

See Also

String matching