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
The point of deepKeys is to get the path to all properties. Just curious, what's your use-case? I guess it would be possible to add an option to stop at arrays.
Would you expect {a: [{c: true}, {d: false}]} to not include the paths for c and d?
Yes, it might be a good idea to add an option to keep arrays, so that I can replace with new array directly, but not set array items one by one.
The point of deepKeys is to get the path to all properties. Just curious, what's your use-case? I guess it would be possible to add an option to stop at arrays.
Would you expect {a: [{c: true}, {d: false}]} to not include the paths for c and d?
Thanks for maintaining this library, and It helps me a lot. But is there a way to keep array like below:
The text was updated successfully, but these errors were encountered: