Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

xen::io

Provides utilities for input and output.

include io;

Public Functions

print

print (value: any, ...) -> null

Prints text to the console.

println

println (value: any, ...) -> null

Prints text to the console, adding a newline at the end.

input

input (prefix: string) -> string | null

Receives input from the console, submitted when the enter key is pressed.

clear

clear () -> null

Clears the console screen.

pause

pause () -> null

Waits for the user the press the enter key.