method has_accessor
1 | class Attribute |
1.1 | (Attribute) method has_accessor |
Documentation for method has_accessor
assembled from the following types:
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»