OptionaltraverseArrays?: booleanOptionaltraverseCustomObjects?: TraverseCustomObjectsOptionControls traversal into custom object (user-defined class instances) properties
OptionaltraverseMapKeys?: booleanWhether to traverse into Map keys specifically Only applies when traverseMaps is true
OptionaltraverseMaps?: booleanWhether to traverse into Map keys and values
OptionaltraversePlainObjects?: booleanWhether to traverse into plain object (POJO) properties
OptionaltraverseSets?: booleanWhether to traverse into Set values
OptionalvisitObjects?: booleanWhether to call the visitor on object values (arrays, maps, sets, plain objects, custom objects)
OptionalvisitPrimitives?: booleanWhether to call the visitor on primitive values (string, number, boolean, null, undefined, symbol, bigint)
Whether to traverse into array elements