How to check if array contains different values with React.js and typescript?

Example:

```
[{
  name: 'John',
  value: 1,
}, {
  name: 'John',
  value: 1,
}, {
  name: 'Carla',
  value: 15,
}]

```

I want to return false if all objects in array are same, and true if there is at least one different object.