TrueSchema
MMO.schemas · 2 symbols · generated 5 Oct 2026
True schema (always validate the value)
class MMO.schemas.TrueSchema extends MMO.schemas.aSchema- Namespace
MMO.schemas- Extends
- aSchema
Methods4
constructor()Accepts everything. @return {boolean} always true
test(anno, schemaPath = '', verbose = true)| anno | | |
| schemaPath = '' | | |
| verbose = true | | |
toJSON()| returns | boolean | the literal true, which is this schema's json form |
coerce(value)| value | | |
| returns | * | the value untouched: there is no type to convert to |
MMO.schemas.TrueSchema.SHARED = new MMO.schemas.TrueSchema();- Namespace
MMO.schemas.TrueSchema