(js: JsonSchema.JsonSchema)
| 269 | Object.keys(js).every((key) => objectKeys.has(key) || isAnnotation(key)) |
| 270 | |
| 271 | const excludesObject = (js: JsonSchema.JsonSchema): boolean => |
| 272 | Predicate.isString(js.type) ? js.type !== "object" : isStringArray(js.type) && !js.type.includes("object") |
| 273 | |
| 274 | const isObjectSchema = (js: JsonSchema.JsonSchema): boolean => |
| 275 | js.type === "object" || (isPlainObject(js) && (js.properties ?? js.required) !== undefined) |
no test coverage detected