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

Checks if stdin is a TTY (terminal).

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

Return Type

boolean