ADK for TypeScript: API Reference
    Preparing search index...

    Function isZodObject

    • Returns true if the given object is a ZodObject (supports both Zod v3 and v4).

      Parameters

      • obj: unknown

      Returns obj is
          | ZodObject<
              ZodRawShape,
              UnknownKeysParam,
              ZodTypeAny,
              { [key: string]: any },
              { [key: string]: any },
          >
          | ZodObject<
              Readonly<
                  {
                      [k: string]: $ZodType<
                          unknown,
                          unknown,
                          $ZodTypeInternals<unknown, unknown>,
                      >;
                  },
              >,
              $strip,
          >