Documentation Language: Swift

Initializer

init(url:mode:charset:body:multiLines:)

Creates a new file statement.

init(url: MTLExpression, mode: MTLOpenMode = .overwrite, charset: MTLExpression? = nil, body: MTLBlock, multiLines: Bool = true)

Parameters

url

The file path expression

mode

The file open mode (default: .overwrite)

charset

Optional charset expression (default: nil)

body

The file content block

multiLines

Whether this is multi-line (default: true)