node-dextrin - v0.1.0
    Preparing search index...

    Function validateTreeForEncode

    • Walks value looking for every DXNStruct or registered application class instance anywhere in the tree and checks each one against its own schema, if the registry has one — regardless of what any enclosing field's declared type is, recursing fully into whatever it finds. Returns the (possibly-coerced) tree.

      Parameters

      • value: unknown
      • registry: export=
      • Optionalopts: { coerce?: boolean } = {}

      Returns unknown