Traverse all subschema of a schema, calling the mutator function with each. The mutator is called on leaf nodes first.
the schema to traverse
the function to pass each node in the subschema tree.
a set of options for traversal.
For internal use. Tracks the current recursive depth in the tree. This is used to implement some of the options.
Traverse all subschema of a schema, calling the mutator function with each. The mutator is called on leaf nodes first.