MMOframework
Pourquoi l'IA Playground Bibliothèques Documentation Rechercher Agence
FR EN
Index

TrueSchema

MMO.schemas · 2 symboles · générée le 27 Oct 2026

class

TrueSchema

schemas.js:276

True schema (always validate the value)

class MMO.schemas.TrueSchema extends MMO.schemas.aSchema
Espace de noms
MMO.schemas
Étend
aSchema

Index

constructor()
test(anno, schemaPath, verbose)Accepts everything. @return {boolean} always true
toJSON()
coerce(value)

Méthodes4

test(anno, schemaPath, verbose)

schemas.js:283

Accepts everything. @return {boolean} always true

test(anno, schemaPath = '', verbose = true)
anno
schemaPath = ''
verbose = true

toJSON()

schemas.js:288
toJSON()
retournebooleanthe literal true, which is this schema's json form

coerce(value)

schemas.js:290
coerce(value)
value
retourne*the value untouched: there is no type to convert to
constant

SHARED

schemas.js:294
MMO.schemas.TrueSchema.SHARED = new MMO.schemas.TrueSchema();
Espace de noms
MMO.schemas.TrueSchema