__shell.gdn::is_tty()
Return True if stdout is connected to a terminal (TTY), or
False if stdout has been redirected to a file or pipe.
Exampleimport "__shell.gdn" as shell
shell::is_tty()
Source Codepublic fun is_tty(): Bool {
__BUILT_IN_IMPLEMENTATION
}