The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Function::Interface::Info::Function::Param - information about parameters of abstract function

METHODS

new

Constructor of Function::Interface::Info::Function::Param. This is usually called at Function::Interface::info.

name -> Str

Returns parameter name of the abstract function, e.g. $msg.

named -> Bool

Returns whether it is a named parameter. For example, Str $a is false, Str :$b is true.

optional -> Bool

Returns whether it is a optional parameter. For example, Str $a is false, Str $b= is true.

type -> Object

Returns type object of the parameter, e.g. Str.

type_display_name -> Str

Returns type display name of the parameter

SEE ALSO

Function::Interface::Info