0

I have many objects in my JS code. And the depth of them is not known. Here are some examples:

{
   type: 'Text',
   params: {
       column: 'Text'
   }
}

or

{
   name: 'Text',
   column: 'Text',
   args: {
       column: 'Text',
       rel: [
          {
              name: 'Log',
              column: 'Log'
          }
       ]
   }
}

I want to count the property column in each object. How can I do that?

  • Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. – Community Feb 06 '23 at 19:25

0 Answers0