title: Extract data from object using a path - include all data in arrays
body: <p><em>I am trying to solve the following problem with LoDash.  I know how to solve the problem using for loops, but am looking for the modern functional method of solving the problem.</em></p>
  
  <hr>
  
  <p>I have the following data: </p>
  
  <pre><code>const data = {
      people: [
          {
              name: "Bob",
              vehicles: [
                  {
                      model: "Mazda"
                      tires: [
                          { pressure: 20 },
                          { pressure: 22 },
                          { pressure: 23 },
                          { pressure: 21 },
                      ]
                  },
                  {
                      model: "Harley Davidson"
                      tires: [
                          { pressure: 20 }
                          { pressure: 25 }
                      ]
                  }
              ]
          },
          {...},
          {...},
          {...},
      ]
  }
  </code></pre>
  
  <p>From it, I want to extract a list of every tire pressure belonging to every person.  So something like this:</p>
  
  <pre><code>[20, 22, 23, 21, 20, 25, ... ]
  </code></pre>
  
  <p>What I am looking for is a method that I can call like this:</p>
  
  <pre><code>const path = 'people.vehicles[*].tires[*].pressure';
  const tirePressure = _.methodName(data, path);
  </code></pre>
  
  <p>I know that lodash has support for some similar functionality - like <code>_.at(object, ['a[0].b.c', 'a[1]']);</code> <a href="https://lodash.com/docs/4.17.10#at" rel="nofollow noreferrer">(link)</a>, but it doesn't support collapsing the entire array, as far as I can tell.  </p>