(schema: JSONSchema7 | null | undefined)
| 629 | |
| 630 | /** Returns true when a JSON Schema node is marked as visibility:"internal" (set via `.asInternal()` on the Zod source). */ |
| 631 | export function isSchemaInternal(schema: JSONSchema7 | null | undefined): boolean { |
| 632 | return typeof schema === "object" && schema !== null && (schema as Record<string, unknown>).visibility === "internal"; |
| 633 | } |
| 634 | |
| 635 | /** |
| 636 | * Collects the set of definition names marked `visibility: "internal"` and a |
no outgoing calls
no test coverage detected
searching dependent graphs…