Garden 🌻

__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.

Example
import "__shell.gdn" as shell
shell::is_tty()
Source Code
public fun is_tty(): Bool {
  __BUILT_IN_IMPLEMENTATION
}