You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// options object can be passed as second argument to LavaTube constructor optionally:
95
+
//configuration options object:
89
96
constopts= {
90
97
// a function with which the visited keys during walking
91
98
// process can be customizd for how they appear within
@@ -102,7 +109,7 @@ const opts = {
102
109
shouldWalk, // [default (target) => true]
103
110
104
111
// a function that allows you to reveal additional props for a value (if you have more context on its type you might be able to get additional values by calling its methods)
105
-
defaultGetAdditionalProps, // [default () => []]
112
+
getAdditionalProps, // [default () => []]
106
113
107
114
// a boolean indicating if we should search depth first instead of breadth first
108
115
depthFirst, // [default false]
@@ -114,8 +121,3 @@ const opts = {
114
121
realms, // [default [globalThis]]
115
122
};
116
123
```
117
-
118
-
### note
119
-
120
-
A LavaTube instance holds the options to use when walking.
121
-
It does not cache visited nodes so it is safe for re-use.
0 commit comments