ParsedArgs.hasArgument

Checks whether an argument with the given name is present.

  1. bool hasArgument(string name)
    class ParsedArgs
    const nothrow @safe
    bool
    hasArgument
    (
    string name
    )
  2. bool hasArgument(const(Argument) argument)