It is just an example. I want to have a generic function function areSameObjs(obj1: Record<any, any>, obj2: Record<any, any>) that I could easily re-use everywhere in my app without worrying about orders of keys / orders of Arrays, with an infinite depth