Check input device is a terminal: Difference between revisions

Content deleted Content added
SqrtNegInf (talk | contribs)
m →‎{{header|Raku}}: Fix code: Perl 6 --> Raku
PureFox (talk | contribs)
Added Wren
Line 364:
echo "Input is NOT a terminal"
fi</lang>
 
=={{header|Wren}}==
<lang ecmascript>import "io" for Stdin
 
System.print("Input device is a terminal? %(Stdin.isTerminal ? "Yes" : "No")")</lang>
 
{{out}}
<pre>
Input device is a terminal? Yes
</pre>
 
=={{header|zkl}}==