ProgramArgs.flag

Checks for flag value.

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

Return Value

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

See Also

occurencesOf

Meta