Skip to main content

isTerminal

method Deno.stdin.isTerminal
Jump to headingstdin.isTerminal(): boolean

Checks if stdin is a TTY (terminal).

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

Return Type Jump to heading

boolean
Back to top