(schema: JSONSchema7)
| 1207 | } |
| 1208 | |
| 1209 | function isConstOrEnumSchema(schema: JSONSchema7): boolean { |
| 1210 | return "const" in schema || (Array.isArray(schema.enum) && schema.enum.length > 0); |
| 1211 | } |
| 1212 | |
| 1213 | export function hasSchemaPayload(schema: JSONSchema7 | null | undefined): boolean { |
| 1214 | if (!schema) return false; |
no outgoing calls
no test coverage detected
searching dependent graphs…