Index

TrueSchema

MMO.schemas · 2 symbols · generated 5 Oct 2026

class

TrueSchema

schemas.js:276

True schema (always validate the value)

class MMO.schemas.TrueSchema extends MMO.schemas.aSchema
Namespace
MMO.schemas
Extends
aSchema

Index

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

Methods4

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()
returnsbooleanthe literal true, which is this schema's json form

coerce(value)

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

SHARED

schemas.js:294
MMO.schemas.TrueSchema.SHARED = new MMO.schemas.TrueSchema();
Namespace
MMO.schemas.TrueSchema