Open ndzik opened 3 years ago
To aid the intuition of developers using our SDK we should strive to use a familiar API for our types.
{Asset|Assets} includes a cmp(...) method, while types like Address and BigInteger implement an equals method.
{Asset|Assets}
cmp(...)
Address
BigInteger
equals
I propose to add the equals method where possible. Currently that would be in {Asset|Assets}.
See also here.
To aid the intuition of developers using our SDK we should strive to use a familiar API for our types.
{Asset|Assets}
includes acmp(...)
method, while types likeAddress
andBigInteger
implement anequals
method.I propose to add the
equals
method where possible. Currently that would be in{Asset|Assets}
.See also here.