signature
ErrorsCollection

signature

Synthesised documentation from type/Code type/ForeignCode type/Systemic

From type/Code

See Original text in context

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)␤»

From type/ForeignCode

See Original text in context

method signatureForeignCode:D: )

Returns the signature of the enclosed code.

From type/Systemic

See Original text in context

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