narrow
The shortest possible unit name.
Declaration
static var narrow: Duration.UnitsFormatStyle.UnitWidth { get }Discussion
For example, narrow produces the unit label “3h” for a 3-hour duration in the en_US locale.
The shortest possible unit name.
static var narrow: Duration.UnitsFormatStyle.UnitWidth { get }For example, narrow produces the unit label “3h” for a 3-hour duration in the en_US locale.