reduceDeep: how to explicitly prevent iteration over current values children? #137
Unanswered
jhpetersen
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
as there doesn't exist a selectDeep method (like findDeep for all matching children, as already questioned in this issue), i am trying to use reduceDeep for that, but as the iteratee callback returns an object (the accumulated value), there is no possibility to return false explicitly to prevent iteration over current value's children like in findDeep, filterDeep, etc...
Is this somehow possible?
Beta Was this translation helpful? Give feedback.
All reactions