@joshfarrant/shortcuts-js
Version:
An iOS 12 Shortcuts creator
23 lines • 589 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
/**
* @action Get Variable
* @section Actions > Scripting > Variables
* @icon Variable
*
* Gets the value of the specified variable and passes it to the next action.
*
* ```js
* getVariable({
* variable: variable('My Variable'),
* });
* ```
*/
const getVariable = ({ variable, }) => ({
WFWorkflowActionIdentifier: 'is.workflow.actions.getvariable',
WFWorkflowActionParameters: {
WFVariable: variable,
},
});
exports.default = getVariable;
//# sourceMappingURL=getVariable.js.map