Function is
Source pub fn is(stream: Stream) -> bool
Expand description
returns true if this is a tty
5fn main() {
6 println!("stdout? {}", is(Stream::Stdout));
7 println!("stderr? {}", is(Stream::Stderr));
8 println!("stdin? {}", is(Stream::Stdin));
9}