(name: string, format: Format)
| 647 | |
| 648 | // Add format |
| 649 | addFormat(name: string, format: Format): Ajv { |
| 650 | if (typeof format == "string") format = new RegExp(format) |
| 651 | this.formats[name] = format |
| 652 | return this |
| 653 | } |
| 654 | |
| 655 | errorsText( |
| 656 | errors: ErrorObject[] | null | undefined = this.errors, // optional array of validation errors |
no outgoing calls