I don’t think there is a way to do it. Probably you’ll have to make a function yourself.
Now It might work fine. I forgot that Object.entries get the values as strings…
Probably It’ll also be a bit slow if you’re calling It on objects with huge amounts of data
This is the way I did It. Feel free to use this function if you want to
