Check output device is a terminal: Difference between revisions
Check output device is a terminal (view source)
Revision as of 16:11, 28 February 2021
, 3 years agoadd Standard ML
m (→{{header|Phix}}: comment -> use new requires() builtin) |
(add Standard ML) |
||
Line 562:
println("tty " + apply(true))
}</lang>
=={{header|Standard ML}}==
<lang sml>val stdoutRefersToTerminal : bool = Posix.ProcEnv.isatty Posix.FileSys.stdout</lang>
=={{header|Tcl}}==
|