import { isZodInstalled } from './isZodInstalled'; export function isZodObject(x: any): boolean { if (!isZodInstalled) { return false; } // eslint-disable-next-line global-require const { ZodObject } = require('zod'); return x instanceof ZodObject; }