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

Checks if stdin is a TTY (terminal).

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

Return Type

boolean
Back to top