format(_:)
Formats a value, using this style.
Declaration
func format(_ value: Self.FormatInput) -> Self.FormatOutputParameters
- value:
The value to format.
Return Value
A representation of value, in the FormatOutput type, formatted according to the style’s configuration.
Discussion
Use this method when you want to create a single style instance, and then use it to format multiple values.