Documentation for method signature
assembled from the following pages:
Class: ForeignCode §
From ForeignCode
(ForeignCode) method signature §
method signature( ForeignCode: )
Returns the signature of the enclosed code.
Class: Code §
From Code
(Code) method signature §
Defined as:
multi method signature(Code: --> Signature)
Returns the Signature
object for this code object, which describes its parameters.
sub a(Int , Str ) ;say .signature; # OUTPUT: «(Int $one, Str $two)»
Role: Systemic §
From Systemic
(Systemic) method signature §
Instance method returning the signature of the object. Returns a Blob
type object if the signature could not be established.