For example I have this dataInput json:
dataInput= [
    {text: 'text1'},
    {text: 'text2'},
    {text: 'text3'}
];
and I want to compare it with:
dataInputUpdated= [
  {text: 'text1', info: 'something'},
  {text: 'text2'},
  {text: 'text3'}
];
How to compare between them with Typescript? Is there any equal method? This is array of objects, so I wanna know its not equal on any change.
 
    