Mojo function
print[*Ts: Formattable](*values: *Ts, *, sep: StringSlice[0, MutableStaticLifetime] = " ", end: StringSlice[0, MutableStaticLifetime] = "\0A", flush: Bool = 0, file: FileDescriptor = 1)
Prints elements to the text stream. Each element is separated by sep
and followed by end
.
Parameters:
- β*Ts (
Formattable
): The elements types.
Args:
- β*values (
*Ts
): The elements to print. - βsep (
StringSlice[0, MutableStaticLifetime]
): The separator used between elements. - βend (
StringSlice[0, MutableStaticLifetime]
): The String to write after printing the elements. - βflush (
Bool
): If set to true, then the stream is forcibly flushed. - βfile (
FileDescriptor
): The output stream.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!
π What went wrong?