ProgramArgs.hasFlag

Checks for flag value.

  1. bool hasFlag(string name)
    class ProgramArgs
    bool
    hasFlag
    (
    string name
    )
  2. alias flag = hasFlag

Return Value

Type: bool

true if flag has been passed at least once, false otherwise.

See Also

occurencesOf

Meta