(schema: JSONSchema7)
| 1056 | } |
| 1057 | |
| 1058 | function hasObjectShape(schema: JSONSchema7): boolean { |
| 1059 | return !!(schema.properties || schema.additionalProperties || schema.type === "object"); |
| 1060 | } |
| 1061 | |
| 1062 | function isEmptyNotSchema(schema: JSONSchema7): boolean { |
| 1063 | return !!schema.not && typeof schema.not === "object" && Object.keys(schema.not).length === 0; |
no outgoing calls
no test coverage detected
searching dependent graphs…