atty

Function is

Source
pub fn is(stream: Stream) -> bool
Expand description

returns true if this is a tty