I need to filter an array so it would remove undefined objects from it.
I tried with lodash _.filter but didn't succeed (returned completely empty array)
_.filter(myArray, _.isEmpty)
I'm using Angular 6 so anything with typescript or lodash would be perfect.
