Skip to content

io

luau
local io = require("@lute/io")

WARNING

These APIs are still open to future evolution. In new major versions, they may change in backwards incompatible ways.

Summary

EntryDescription
readReads a line from standard input and returns it as a string.
writeWrites one or more strings to standard output without a trailing newline.

Functions and Properties

io.read

Reads a line from standard input and returns it as a string.

luau
() -> string

io.write

Writes one or more strings to standard output without a trailing newline.

luau
(...: string) -> ()