title: How to filter null from array of objects?
body: <p>I wanted to ask how to filter my array. In this case my array fills with null object and no null object </p>
  
  <p><code>[null,{"position":{"lat":50.8999208,"lng":20.6258},"vin":22222}]</code></p>
  
  <p>normally if null doesn't appear the array looks like this:</p>
  
  <pre><code>`[{"position":{"lat":22.8999208,"lng":22.6258},"vin":11111},{"position":{"lat":50.8999208,"lng":20.6258},"vin":22222}]`
  </code></pre>
  
  <p>But in this case in my programming scenario the first object is nulled and I have to filter this array or maybe copy no-null objects from this array to another array and then compute or error will occur. How should I do it?</p>
  
  <p>Best regards!</p>