CalculationOperand
public enum CalculationOperand : Encodable
A Calculation-compatible operand used by the Calculate shortcut.
-
A variable operand.
Declaration
Swift
case variable(Variable) -
A constant operand.
Declaration
Swift
case number(Number) -
Encodes this value into the given encoder.
Throws
This function throws an error if any values are invalid for the given encoder’s format.Declaration
Swift
public func encode(to encoder: Encoder) throwsParameters
encoderThe encoder to write data to.
View on GitHub
CalculationOperand Enumeration Reference