(definitions: Vocabulary)
| 582 | |
| 583 | // add "vocabulary" - a collection of keywords |
| 584 | addVocabulary(definitions: Vocabulary): Ajv { |
| 585 | for (const def of definitions) this.addKeyword(def) |
| 586 | return this |
| 587 | } |
| 588 | |
| 589 | addKeyword( |
| 590 | kwdOrDef: string | KeywordDefinition, |
no test coverage detected