@joshfarrant/shortcuts-js
Version:
An iOS 12 Shortcuts creator
21 lines (20 loc) • 523 B
TypeScript
import Variable from '../interfaces/Variable';
import WFWorkflowAction from '../interfaces/WF/WFWorkflowAction';
/**
* @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'),
* });
* ```
*/
declare const getVariable: ({ variable, }: {
/** The variable to get */
variable: Variable;
}) => WFWorkflowAction;
export default getVariable;