Validates a parsed node tree against a schema, returning diagnostics rather than throwing.
import { parse, validate } from '@datamoc/mw_games/mwl';console.log(validate(parse("[{ tag: 'game', schema: 0.1 }]"))); // [] Copy
import { parse, validate } from '@datamoc/mw_games/mwl';console.log(validate(parse("[{ tag: 'game', schema: 0.1 }]"))); // []
Validates a parsed node tree against a schema, returning diagnostics rather than throwing.