TrueSchema
MMO.schemas · 2 symboles · générée le 27 Oct 2026
True schema (always validate the value)
class MMO.schemas.TrueSchema extends MMO.schemas.aSchema- Espace de noms
MMO.schemas- Étend
- aSchema
Méthodes4
constructor()Accepts everything. @return {boolean} always true
test(anno, schemaPath = '', verbose = true)| anno | | |
| schemaPath = '' | | |
| verbose = true | | |
toJSON()| retourne | boolean | the literal true, which is this schema's json form |
coerce(value)| value | | |
| retourne | * | the value untouched: there is no type to convert to |
MMO.schemas.TrueSchema.SHARED = new MMO.schemas.TrueSchema();- Espace de noms
MMO.schemas.TrueSchema