Generic Instance Method

write(to:)

Writes the textual representation of the Unicode scalar into the given output stream.

Declaration

func write<Target>(to target: inout Target) where Target : TextOutputStream

Parameters

target

An output stream.

Relationships

See Also

Printing and Displaying a Scalar

var description: String

A textual representation of the Unicode scalar.

func escaped(asASCII: Bool) -> String

Returns a string representation of the Unicode scalar.

var debugDescription: String

An escaped textual representation of the Unicode scalar, suitable for debugging.

var customMirror: Mirror

A mirror that reflects the Unicode.Scalar instance.

var customPlaygroundQuickLook: _PlaygroundQuickLook

A custom playground Quick Look for the Unicode.Scalar instance.

Deprecated