fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

equality

switch.type.equality

type.equality(x switch.this,y switch.this) => bool[Redefinition of  property.orderable.type.equality, choice.type.equality][src]
generic equality implementation for switch

a switch is only equal if x and y wrap the same type and
the wrapped values are themselves equal

Arguments

x switch.this[src]
y switch.this[src]
0.099dev (GIT hash e2d5298d8107bb5fe79600fdb06a49bc75756344)
last changed: 2026-11-23