SetVariable
public struct SetVariable : Shortcut
Sets the value of the specified variable to the input of this action.
Input: Anything
Result: (Anything) The input
-
The contents of the shortcut.
Declaration
Swift
public var body: some Shortcut { get } -
Initializes the shortcut.
Declaration
Swift
public init(name: String, uuid: UUID = UUID(), variable: Variable)Parameters
nameThe new name of the variable.
uuidThe internal UUID of the variable, useful for building deterministic output.
variableThe contents of the new variable.
View on GitHub
SetVariable Structure Reference