ConditionNumberOperand
public enum ConditionNumberOperand
extension ConditionNumberOperand: ExpressibleByFloatLiteral
extension ConditionNumberOperand: ExpressibleByIntegerLiteral
An operand for a Condition
that can represent either a Number
or a Variable
.
-
A variable operand.
Declaration
Swift
case variable(Variable)
-
A number operand.
Declaration
Swift
case number(Number)
-
Creates an instance initialized to the specified floating-point value.
Attention
Do not call this initializer directly. Instead, initialize a variable or constant using a floating-point literal.
Declaration
Swift
public init(floatLiteral value: Double)
Parameters
value
The value of the new instance.
-
Creates an instance initialized to the specified integer value.
Attention
Do not call this initializer directly. Instead, initialize a variable or constant using an integer literal.
Declaration
Swift
public init(integerLiteral value: Int64)
Parameters
value
The value of the new instance.