MCPcopy
hub / github.com/colinhacks/zod / isObject

Function isObject

packages/zod/src/v4/core/util.ts:360–362  ·  view source on GitHub ↗
(data: any)

Source from the content-addressed store, hash-verified

358) as any;
359
360export function isObject(data: any): data is Record<PropertyKey, unknown> {
361 return typeof data === "object" && data !== null && !Array.isArray(data);
362}
363
364export const allowsEval: { value: boolean } = /* @__PURE__*/ cached(() => {
365 // Skip the probe under `jitless`: strict CSPs report the caught `new Function`

Callers 2

isPlainObjectFunction · 0.85
schemas.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected