Variables

  • A variable is a container used to label and store content such as text, images, a webpage, or a dictionary of data.

    See more

    Declaration

    Swift

    public class Variable
    extension Variable: CalculationOperandConvertible
    extension Variable: ConditionNumberOperandConvertible
    extension Variable: ConditionOperandConvertible
    extension Variable: ConditionTextOperandConvertible
    extension Variable: Equatable
    extension Variable: Hashable
    extension Variable: Encodable
    extension Variable: VariableDateValueConvertible
  • An enum that represents either a Variable or a value of the generic type Value

    See more

    Declaration

    Swift

    public enum VariableValue<Value>
    extension VariableValue: Encodable where Value: Encodable
    extension VariableValue: ExpressibleByBooleanLiteral where Value: ExpressibleByBooleanLiteral
    extension VariableValue: ExpressibleByExtendedGraphemeClusterLiteral where Value: ExpressibleByExtendedGraphemeClusterLiteral
    extension VariableValue: ExpressibleByFloatLiteral where Value: ExpressibleByFloatLiteral
    extension VariableValue: ExpressibleByIntegerLiteral where Value: ExpressibleByIntegerLiteral
    extension VariableValue: ExpressibleByNilLiteral where Value: ExpressibleByNilLiteral
    extension VariableValue: ExpressibleByStringLiteral where Value: ExpressibleByStringLiteral
    extension VariableValue: ExpressibleByUnicodeScalarLiteral where Value: ExpressibleByUnicodeScalarLiteral
  • A property wrapper type for a Variable that allows for saving output from a Shortcut.

    See more

    Declaration

    Swift

    @propertyWrapper
    public struct OutputVariable