SyntaxFix
Write A Post
Hire A Developer
Questions
You could use find to solve your problem
find
https://lodash.com/docs/#find
const data = [{"a": 1}, {"b": 2}] const item = {"b": 2} find(data, item) // > true