ArrayAnnotation
MMO.schemas · 1 symbol · generated 5 Oct 2026
ArrayAnnotation
Annotation.js:131The annotation of an array: one child annotation per item.
- Namespace
MMO.schemas- Extends
- Annotation
Index
| valid readonly accessor | ||
| constructor(value, path) | ||
| toJSON() | Override: the items' errors are flattened into the same list. | |
| merge(anno, withErrors) | Override: also fold each item's outcome into the matching item of this annotation. |
Properties1
valid
readonlyaccessorAnnotation.js:147- Type
boolean
Methods3
constructor(value, path)
Annotation.js:132| value | ||
| path = '' |
toJSON()
Annotation.js:159Override: the items' errors are flattened into the same list.
| returns | valid: boolean, errors: Array= | } |
merge(anno, withErrors)
Annotation.js:174Override: also fold each item's outcome into the matching item of this annotation.
| anno | MMO.schemas.Annotation | |
| withErrors = true | boolean |