()
| 21 | * Returns true if stdin, stdout, and stderr are all not TTYs |
| 22 | */ |
| 23 | export function isTTYless(): boolean { |
| 24 | return ( |
| 25 | process.stdin.isTTY !== true && |
| 26 | process.stdout.isTTY !== true && |
| 27 | process.stderr.isTTY !== true |
| 28 | ); |
| 29 | } |
| 30 | |
| 31 | /** |
| 32 | * Check if environment supports interactive features (TUI) |
no outgoing calls
no test coverage detected