Documentation for method has_accessor
assembled from the following pages:
Class: Attribute §
From Attribute
(Attribute) method has_accessor §
Defined as:
method has_accessor(Attribute: --> Bool)
Returns True
if the attribute has a public accessor method.
my = Container.^attributes(:local)[0];my = Container.^attributes(:local)[1];say .has_accessor; # OUTPUT: «False» say .has_accessor; # OUTPUT: «True»