| 2840 | gen.if((0, codegen_1._) `${it.evaluated}.dynamicItems`, () => gen.assign((0, codegen_1._) `${it.evaluated}.items`, (0, codegen_1._) `undefined`)); |
| 2841 | } |
| 2842 | function funcSourceUrl(schema, opts) { |
| 2843 | const schId = typeof schema == "object" && schema[opts.schemaId]; |
| 2844 | return schId && (opts.code.source || opts.code.process) ? (0, codegen_1._) `/*# sourceURL=${schId} */` : codegen_1.nil; |
| 2845 | } |
| 2846 | // schema compilation - this function is used recursively to generate code for sub-schemas |
| 2847 | function subschemaCode(it, valid) { |
| 2848 | if (isSchemaObj(it)) { |