Module

x/wmill/deps.ts>Command#getGlobalParent

Open-source developer platform to turn scripts into workflows and UIs. Fastest workflow engine (5x vs Airflow). Open-source alternative to Airplane and Retool.
Go to Latest
method Command.prototype.getGlobalParent
import { Command } from "https://dotland.deno.dev/x/wmill@v1.346.2/deps.ts";

Get parent command from global executed command. Be sure, to call this method only inside an action handler. Unless this or any child command was executed, this method returns always undefined.

Returns

Command<any> | undefined