MCPcopy Create free account
hub / github.com/agentrpc/agentrpc / isZodType

Function isZodType

sdk-node/src/util.ts:184–186  ·  view source on GitHub ↗
(input: any)

Source from the content-addressed store, hash-verified

182
183// eslint-disable-next-line @typescript-eslint/no-explicit-any
184export const isZodType = (input: any): input is z.ZodTypeAny => {
185 return input?._def?.typeName;
186};
187
188export const INTERRUPT_KEY = "__inferable_interrupt";
189type VALID_INTERRUPT_TYPES = "approval" | "general";

Callers 2

registerMachineFunction · 0.90
validateFunctionArgsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected