Skip to main content
Deno.stdout.isTerminal - Deno documentation
method Deno.stdout.isTerminal
stdout.isTerminal(): boolean

Checks if stdout is a TTY (terminal).

// This example is system and context specific
Deno.stdout.isTerminal(); // true

Return Type

boolean
Back to top