bupkis
    Preparing search index...

    Function isZodType

    • Returns true if the given value looks like a Zod v4 schema, determined by the presence of an internal z.core.$ZodTypeDef field.

      Note: This relies on Zod's internal shape and is intended for runtime discrimination within this library.

      Parameters

      • value: unknown

        Value to test

      Returns value is z.ZodType<unknown, unknown, $ZodTypeInternals<unknown, unknown>>

      Whether the value is ZodType-like