@joshfarrant/shortcuts-js
Version:
An iOS 12 Shortcuts creator
20 lines • 578 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const utils_1 = require("../utils");
/**
* @action Get Type
* @section Actions > Scripting > Content
* @icon Scripting
*
* Returns the type of every item passed as input. For example, if a URL is passed, this action will return “URL”.
*
* ```js
* getType();
* ```
*/
const getType = () => ({
WFWorkflowActionIdentifier: 'is.workflow.actions.getitemtype',
WFWorkflowActionParameters: {},
});
exports.default = utils_1.withActionOutput(getType);
//# sourceMappingURL=getType.js.map