In Sets, bags, and mixes§
See primary documentation in context for infix ≢
Returns True
if $a
and $b
are not identical, else False
. More information, Wikipedia definition.
Available as of the 2020.07 Rakudo compiler release. Users of older versions of Rakudo can install the Set::Equality module for the same functionality.
In Operators§
See primary documentation in context for infix ≢
multi sub infix:<≢>(, --> Bool)
Returns True
if $a
and $b
are not identical. Equivalent to !(==)
.
say (1, 2, 3) ≢ (1, 2, 4); # OUTPUT: «True»say (1, 2, 3) ≢ (1, 3, 2); # OUTPUT: «False»