See Original text in context
multi sub infix:<=:=>(Mu \a, Mu \b)
Container identity operator. Returns True
if both arguments are bound to the same container. If it returns True
, it generally means that modifying one will also modify the other.
my (, ) = (1, 3);say =:= ; # OUTPUT: «False»= 2;say ; # OUTPUT: «1»:= ;say =:= ; # OUTPUT: «True»= 5;say ; # OUTPUT: «5»
The single argument version, called as a routine, will always return True:
say infix:<=:=>(42); # OUTPUT: «True»say infix:<=:=>(False); # OUTPUT: «True»