class ObjAt is Any {}
Objects of type ObjAt
are the return value of .WHICH
calls on other
objects, and identify an object uniquely.
If two objects compare equally via ===
, their .WHICH
methods return
the same ObjAt object.
See also ValueObjAt for value types.
Methods
infix eqv
multi infix:<eqv>(ObjAt:D $a, ObjAt:D $b)
Returns True if the two ObjAt are the same, that is, if the object they identify
is the same.
my @foo = [2,3,1];
my @bar := @foo;
say @foo.WHICH eqv @bar.WHICH; # OUTPUT: «True»
See Also
class AST
Abstract representation of a piece of source code
class atomicint
Integer (native storage at the platform's atomic operation size)
class Collation
Encapsulates instructions about how strings should be sorted
class Cool
Object that can be treated as both a string and number
class ForeignCode
Rakudo-specific class that wraps around code in other languages (generally NQP)
class Format
Convert values to a string given a format specification
class HyperSeq
An object for performing batches of work in parallel with ordered
output
class Mu
The root of the Raku type hierarchy.
class Nil
Absence of a value or a benign failure
class Proxy
Item container with custom storage and retrieval
class RaceSeq
Performs batches of work in parallel without respecting original
order.
class Rat
Rational number (limited-precision)
class Routine
Code object with its own lexical scope and return handling
class Scalar
A mostly transparent container used for indirections
The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society.
All rights reserved.