I have an array of objects and I need to delete few of the objects based on conditions. How can I achieve it using lodash map function? Ex:
[{a: 1}, {a: 0}, {a: 9}, {a: -1}, {a: 'string'}, {a: 5}]
I need to delete
{a: 0}, {a: -1}, {a: 'string'}
How can I achieve it?