deno.land / x / velociraptor@1.5.0 / src / command.ts

نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import { ScriptObject } from "./scripts_config.ts";
export interface Command extends ScriptObject { cmd: string;}
export interface ParallelCommands { pll: Array<Command | ParallelCommands>;}
export type CompoundCommandItem = Command | ParallelCommands | null;
export const isParallel = (command: object): command is ParallelCommands => "pll" in command;
velociraptor

Version Info

Tagged at
2 years ago