MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / isInstanceState

Function isInstanceState

e2e/scripts/cli.ts:70–78  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

68};
69
70const isInstanceState = (value: unknown): value is InstanceState => {
71 if (!value || typeof value !== "object") return false;
72 const v = value as Record<string, unknown>;
73 return (
74 typeof v.target === "string" &&
75 typeof v.runnerPid === "number" &&
76 typeof v.startedAt === "string"
77 );
78};
79
80const appResponds = async (url: string): Promise<boolean> => {
81 try {

Callers 1

statusFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected