If you're only looking for the first instance of the object in the array, you can just use the native method array.find if you want all the instances of that object from the array you can use array.filter ... I don't think you don't need lodash for that operation.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
If you're only looking for the first instance of the object in the array, you can just use the native method
array.find
if you want all the instances of that object from the array you can usearray.filter
... I don't think you don't need lodash for that operation.