(schema: JSONSchema7 | null | undefined)
| 407 | * but should be treated as void in other languages. |
| 408 | */ |
| 409 | export function isVoidSchema(schema: JSONSchema7 | null | undefined): boolean { |
| 410 | if (!schema) return true; |
| 411 | return schema.type === "null"; |
| 412 | } |
| 413 | |
| 414 | /** |
| 415 | * If the schema is a nullable anyOf (anyOf: [nullLike, T] or [T, nullLike]), |
no outgoing calls
no test coverage detected
searching dependent graphs…