Deep Equality (simplified)

by Ricardo “Rudxain” Fernández Serrata

Version 3 (September 26, 2023)

Download (106 downloads)

Checks if ANY 2 values are "deeply equal" (can check flat and nested containers). It uses "depth-first" tree traversal algorithm to reduce block-count.

`substr(type(a), -1, 1) = "y"` is equivalent to `type(a)[-1] = "y"[0]`. Both check if `a` is a container (array or dictionary, not text)

I already included example inputs, you can edit them to check correctness of this flow.

Credits: stackoverflow.com/a/10316616

Optimized: llamalab.com/automate/community/flows/39231

Rudxain profile: llamalab.com/automate/community/flows/42921

3.0 average rating from 1 reviews

5 stars
0
4 stars
0
3 stars
1
2 stars
0
1 star
0
Reports
0

Rate and review within the app in the Community section.