hasTerminal property

bool get hasTerminal

Whether the current process's stdout is connected to a terminal.

Implementation

static bool get hasTerminal => stdout.hasTerminal;