format
TypeScriptformat(value: string): stringSwift declarationfunc format(_ value: String) -> StringFormats a value, using this style. Use this method when you want to create a single style instance, and then use it to format multiple values. - Parameter value: The value to format. - Returns: A representation of `value`, in the ``FormatOutput`` type, formatted according to the style's configuration.