method signature

Documentation for method signature, assembled from the following types:

class Perl

From Perl

(Perl) method signature

Instance method returning the signature of the Perl object. Returns a Blob type object if the signature could not be established.

class Code

From Code

(Code) method signature

Defined as:

multi method signature(Code:D: --> Signature:D)

Returns the Signature object for this code object, which describes its parameters.

sub a(Int $oneStr $two{};
say &a.signature# OUTPUT: «(Int $one, Str $two)␤» 

class Distro

From Distro

(Distro) method signature

Instance method returning the signature of the Distro object. Returns a Blob type object if the signature could not be established.

class Kernel

From Kernel

(Kernel) method signature

Instance method returning the signature of the Kernel object. Returns a Blob type object if the signature could not be established.

class VM

From VM

(VM) method signature

Instance method returning the signature of the VM object. Returns a Blob type object if the signature could not be established.