(schemas: array, pointer: string, ctx: ReadContext)
| 1483 | } |
| 1484 | |
| 1485 | const readEach = (schemas: array, pointer: string, ctx: ReadContext) => |
| 1486 | schemas.map((schema, i) => read(schema, `${pointer}/${i}`, ctx)) |
| 1487 | |
| 1488 | const unionOf = (roots: readonly BaseRoot[]): BaseRoot => |
| 1489 | jsonSchemaNode("union", { branches: roots.flatMap(root => root.branches) }) |
no test coverage detected