console.writeln([...])function
Writes to the console using console.stdout, adding a last newline character. Contrary to console.stdout:writeln(), console.writeln() can write more than one string, each string is separated with a space character.
Parameters
[...]
Optional strings to write to the console, separated by commas. If the argument is not a string, the function converts it internally using the tostring function.
Calling the function without any argument writes "\n"
Return value
The function returns no value.Example
--! luart-extensions
import console
-- equivalent to print("Hello World")
console.writeln("Hello World !")