OptionValue
public indirect enum OptionValue : Codable, Equatable, FunctionResult, TDEnum, EquatableEnum
Represents the value of an option
-
Represents a boolean option
- value: The value of the option
Declaration
Swift
case boolean(value: Bool)
-
Represents an unknown option or an option which has a default value
Declaration
Swift
case empty
-
Represents an integer option
- value: The value of the option
Declaration
Swift
case integer(value: Int32)
-
Represents a string option
- value: The value of the option
Declaration
Swift
case string(value: String)