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

Function isToolPolicyAction

packages/core/sdk/src/core-schema.ts:493–494  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

491] as const satisfies readonly ToolPolicyAction[];
492
493export const isToolPolicyAction = (value: unknown): value is ToolPolicyAction =>
494 typeof value === "string" && (TOOL_POLICY_ACTIONS as readonly string[]).includes(value);

Callers 1

policiesCreateFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected