(jsonSchema: JsonSchema7)
| 1006 | } |
| 1007 | |
| 1008 | function isNeverWithoutCustomAnnotations(jsonSchema: JsonSchema7): boolean { |
| 1009 | return jsonSchema === constNever || (Predicate.hasProperty(jsonSchema, "$id") && jsonSchema.$id === constNever.$id && |
| 1010 | Object.keys(jsonSchema).length === 3 && jsonSchema.title === AST.neverKeyword.annotations[AST.TitleAnnotationId]) |
| 1011 | } |
| 1012 | |
| 1013 | function isAny(jsonSchema: JsonSchema7): jsonSchema is JsonSchema7Any { |
| 1014 | return "$id" in jsonSchema && jsonSchema.$id === constAny.$id |
no test coverage detected
searching dependent graphs…