tact icon indicating copy to clipboard operation
tact copied to clipboard

Struct comparisons

Open Gusarich opened this issue 7 months ago • 0 comments

Currently in order to compare two structs between each other one has to manually compare each of the fields, e.g.:

self.s1.a == self.s2.a && self.s1.b == self.s2.b && self.s1.c == self.s2.c

It would be easier and more reliable to have the ability to compare structs:

self.s1 == self.s2
// or
self.s1 != self.s2

Gusarich avatar Jul 19 '24 09:07 Gusarich