init(symbol:)
Initializes a new unit with the specified symbol.
Declaration
init(symbol: String)Parameters
- symbol:
The symbol used to represent the unit.
Return Value
A new unit with the specified symbol.
Initializes a new unit with the specified symbol.
init(symbol: String)The symbol used to represent the unit.
A new unit with the specified symbol.