Methods

==ΒΆ

==(a:NormalTypeInstance, b:NormalTypeInstance)

Equaity test for normal type instances: must be of same type and have same attributes and their values
Source: stdlib.ngs:663

Returns

Bool

Example

type T
t1 = T()
t1.a = 1
t2 = T()
t2.a = 1
echo(t1 == t2)  # Outputs: true