()
| 6902 | } |
| 6903 | } |
| 6904 | function loopAllRequired() { |
| 6905 | gen.forOf("prop", schemaCode, (prop) => { |
| 6906 | cxt.setParams({ missingProperty: prop }); |
| 6907 | gen.if((0, code_1.noPropertyInData)(gen, data, prop, opts.ownProperties), () => cxt.error()); |
| 6908 | }); |
| 6909 | } |
| 6910 | function loopUntilMissing(missing, valid) { |
| 6911 | cxt.setParams({ missingProperty: missing }); |
| 6912 | gen.forOf(missing, schemaCode, () => { |