MCPcopy Create free account
hub / github.com/eclipsesource/jsonforms / isObjectSchema

Function isObjectSchema

packages/core/src/util/errors.ts:123–125  ·  view source on GitHub ↗
(schema?: JsonSchema)

Source from the content-addressed store, hash-verified

121 * @returns true if the schema describes an object.
122 */
123const isObjectSchema = (schema?: JsonSchema): boolean => {
124 return schema?.type === 'object' || !!schema?.properties;
125};
126
127/**
128 * The error-type of an AJV error is defined by its `keyword` property.

Callers 1

errorsAtFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…