Interface Common
interface Common {
maxDepth?: number;
maxResults?: number;
maxVisits?: number;
pathPrefix?: PropertyPath;
stopAt?: PropertyPath;
}
maxDepth?: number;
maxResults?: number;
maxVisits?: number;
pathPrefix?: PropertyPath;
stopAt?: PropertyPath;
}
Hierarchy
Properties
OptionalmaxDepth
maxDepth?: number
Maximum number of property-key segments traversed beneath a selected prefix, or beneath the root when no prefix
is supplied. A value of 0 selects only the prefix itself when the iterator supports a prefix.
OptionalmaxResults
maxResults?: number
Maximum number of paths or entries yielded by one traversal. Reaching this limit truncates normally.
OptionalmaxVisits
maxVisits?: number
Maximum number of object properties or trie nodes processed during iterative traversal. Exceeding this limit throws.
OptionalpathPrefix
Absolute stored path selecting the trie subtree where traversal begins.
OptionalstopAt
Absolute stored path whose entry is included while every descendant beneath it is pruned.
Common absolute trie bounds and defensive limits shared by matching and subtree iterators.