getConsole

Synopsis

$ getConsole()

returns the $handle for stdin/stdout.

Returns

A $handle to stdin/stdout. This handle can be read from and written to using Sleep's IO functions.

Examples

if (-eof getConsole()) { println(getConsole(), "The console is open!"); }

The console is open!

See Also