echo multimethod

Methods

echo(s:Str)
Print given string and a newline to stdout.

Returns

Unspecified

Example

echo("blah")  # Output: blah
echo(fd:Int, s:Str)
Print given string and a newline to a file referenced by descriptor.

Returns

Unspecified

Example

echo(2, "blah")  # Output on stderr: blah
echo(x:Any) Source: stdlib.ngs:2243
Echo non-string. Converts x to string first, using Str()

Parameters

xAnything but Str

Returns

null

Example

echo(1)
echo(lines:Lines) Source: autoload/Lines.ngs:21
Echo all lines using echo(Str)
echo(fd:Int, lines:Lines) Source: autoload/Lines.ngs:24
Each all lines to given file descriptor
echo(t:Table) Source: autoload/Table.ngs:123
Displays a table. Implemented only for tty output (or output_format=text configuration)
echo(t:Table) Source: autoload/Table.ngs:198
Output (echo) CSV table with cells that contain arrays converted to columns. TODO: data escaping.
echo(t:Terminal, s:Str) Source: autoload/Terminal.ngs:47
Undocumented