equality - pannous/wasp GitHub Wiki

equality

Two variables or data node_pointer are equal if the types are compatible, and if for every field, the values in both records are equal. The equality comparison descends into children with other children, but value focussed: a:{x: {y=3.0}}and b:{x:{y=3}} are equal, because the root name is considered the variable name and the fields x=3.0 (float) and x=3 (int) are compatible.