Encode-time schema validation: checks value — ordinary JS data
you're about to encode — against a named, compiled schema before
encoding produces any output. The mirror image of validate, for
data on its way out rather than in. Returns the checked value,
stripped of internal bookkeeping; nothing is converted (DXN.md
§4.7).
Encode-time schema validation: checks
value— ordinary JS data you're about to encode — against a named, compiled schema before encoding produces any output. The mirror image ofvalidate, for data on its way out rather than in. Returns the checked value, stripped of internal bookkeeping; nothing is converted (DXN.md§4.7).