Compares all the objects (both key and value) in the given array and returns the unique array.
An array of objects.
uniqueArrayOfObjects([{a: 2}, {a: 2}]); // [{"a": 2}]uniqueArrayOfObjects([{a: {b: 2}}, {a: {b: 2}}]); // [{"a": {"b": 2}}]uniqueArrayOfObjects([{a: 2}, {a: 2, b: 3}]); // [{a: 2}, {a: 2, b: 3}] Copy
uniqueArrayOfObjects([{a: 2}, {a: 2}]); // [{"a": 2}]uniqueArrayOfObjects([{a: {b: 2}}, {a: {b: 2}}]); // [{"a": {"b": 2}}]uniqueArrayOfObjects([{a: 2}, {a: 2, b: 3}]); // [{a: 2}, {a: 2, b: 3}]
Generated using TypeDoc
Compares all the objects (both key and value) in the given array and returns the unique array.