Documentation Language: Swift

Method

writeLine(_:indent:)

Writes a line of text followed by a newline to the current writer.

@MainActor func writeLine(_ text: String = "", indent: Bool = true) async

Parameters

text

The text to write (default: empty string for blank line)

indent

Whether to apply indentation (default: true)