MCPcopy Create free account
hub / github.com/SmartThingsCommunity/smartthings-cli / stdinIsTTY

Function stdinIsTTY

src/lib/io-util.ts:61–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

59 * to mock in unit tests.
60 */
61export function stdinIsTTY(): boolean {
62 return process.stdin.isTTY
63}
64
65/**
66 * Simple function to test for TTY output. Use this instead of directly calling `process` if you want

Callers 3

hasInputFunction · 0.85
io-util.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected