Check input device is a terminal: Difference between revisions

Content deleted Content added
Petelomax (talk | contribs)
m →‎{{header|Phix}}: comment -> use new requires() builtin
Querfeld (talk | contribs)
add Standard ML
Line 430:
println("tty " + apply(true))
}</lang>
 
=={{header|Standard ML}}==
<lang sml>val stdinRefersToTerminal : bool = Posix.ProcEnv.isatty Posix.FileSys.stdin</lang>
 
=={{header|Tcl}}==