I can filter with:
let users = [{'name': 'john', 'age': '20'},{'name': 'jeff', 'age': '2'}
_.filter(users, { 'name': 'john', 'age': '20');
The above will get the user john, but how can I specify multiple options for each array?
For example, I want to get people called john and jeff who are aged 20, something like:
_.filter(users, { 'name': 'john' | 'jeff', 'age': '20');
How can I do this with lodash?