ParsedArgs.hasOption

Checks whether an option with the given name is present.

  1. bool hasOption(string name)
    class ParsedArgs
    const nothrow @safe
    bool
    hasOption
    (
    string name
    )
  2. bool hasOption(const(Option) option)