Optional callback wrapper.
If it is a function, it will replace the callback.
It can access the original callback using this.callback.
Indicates whether callback or options.callbackWrapper can access the visit log.
Indicates whether should iterating node keys.
The root node has no key.
Indicates whether should iterating node values.
This does not apply to the root node.
Maximum number of visits per parent node, including the root.
Specify what to do when a circular reference to a parent object is found.
Cases:
If it's a function, receives the context of the parent.
If it's "skip-node", the circular node will be skipped and the iteration will continue.
If it's "throw-error", an error will be thrown with the path of the circular node.
The type in which the path is created.
If "string", utils.toPathString will be used.
Otherwise, the path will be an array of the found keys.
utils.toPathString for more details.
Type of the visit log for parent nodes.
"set" or "weakset": Saves unique object references."map" or "weakmap": Saves entries. Key: object reference. Value: history of contexts of that object."array": Saves contexts in the order in which the parent nodes are visited."null": There is not visit log.
Options parameter for
deepIterate.The default options are in
deepIterate.options.Notes:
Since
3.0.0-beta.0