In Operators§

See primary documentation in context for infix (==), infix ≡.

multi infix:<(==)>($a,$b --> Bool:D)

Set equality operator.

Returns True if $a and $b are identical.

say (1, 2, 3) (==) (1, 3, 2); # OUTPUT: «True␤»
say (1, 2, 3)  (1, 2, 4); # OUTPUT: «False␤»

In Sets, bags, and mixes§

See primary documentation in context for infix (==), infix ≡.

Returns True if $a and $b are 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.