Instance Method インスタンスメソッド

appendInterpolation(_:)

Appends a type, convertible to a string by using a default format specifier, to a string interpolation.

Declaration 宣言

mutating func appendInterpolation<T>(_ value: T) where T : _FormatSpecifiable

Parameters パラメータ

value

A primitive type to append, such as Int, UInt32, or Double.

Discussion 議論

Don’t call this method directly; it’s used by the compiler when interpreting string interpolations.

See Also 参照

Appending to an Interpolation