format(_:)
Creates a locale-aware string representation from a duration value.
Declaration
func format(_ duration: Duration) -> StringParameters
- duration:
The value to format.
Return Value
A string representation of the duration.
Creates a locale-aware string representation from a duration value.
func format(_ duration: Duration) -> StringThe value to format.
A string representation of the duration.