Comparing 2 exact objects

overshield
Mon, 23 May 2022 20:38:35 +0000
Questions about Thunkable

Is there a way to compare 2 objects exactly, without having to loop through each item inside the object.

For example…

House

Rooms
Living
Bedroom1
Bedroom2
Materials
Brick
Date
2022
May
23

Is the exact same as the following below

House

Rooms
Living
Bedroom1
Bedroom2
Materials
Brick
Date
2022
May
23

It should return true…

But if just 1 thing is different it should return false.

I’m just wondering if there’s a quick way to check that the entire 2 objects are exactly the same in every way without being required to loop through every part of each object?

Thanks

5 posts - 4 participants