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

Function isRecord

packages/hosts/mcp-apps-shell/src/shell/shell-app.tsx:255–256  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

253};
254
255const isRecord = (value: unknown): value is Record<string, unknown> =>
256 typeof value === "object" && value !== null && !Array.isArray(value);
257
258/** The frame is untrusted, so only allow plain web links through. A
259 * `javascript:` URL would run as the host page, not inside the sandbox. */

Callers 1

handleRendererMessageFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected