Quantity

public struct Quantity : Equatable, Hashable, Codable, CustomStringConvertible
  • Declaration

    Swift

    public init(value: String, unit: String? = nil)
  • Declaration

    Swift

    public let value: String
  • Declaration

    Swift

    public let unit: String?
  • Declaration

    Swift

    public var description: String { get }