(jsonSchema: JsonSchema7)
| 1019 | } |
| 1020 | |
| 1021 | function isVoid(jsonSchema: JsonSchema7): jsonSchema is JsonSchema7Void { |
| 1022 | return "$id" in jsonSchema && jsonSchema.$id === constVoid.$id |
| 1023 | } |
| 1024 | |
| 1025 | function isCompactableLiteral(jsonSchema: JsonSchema7 | undefined): jsonSchema is JsonSchema7Enum { |
| 1026 | return Predicate.hasProperty(jsonSchema, "enum") && "type" in jsonSchema && Object.keys(jsonSchema).length === 2 |
no outgoing calls
no test coverage detected
searching dependent graphs…