Input.redirected

Is this device redirected?

  1. bool redirected()
    class Input
    final
    bool
    redirected
    ()
  2. Input redirected(bool yes)

Return Value

Type: bool

True if redirected, false otherwise.

Remarks: Reflects the console redirection status from when this module was instantiated.

Meta