In role Metamodel::Documenting§
See primary documentation in context for method WHY
method WHY()
Returns the documentation for a type.
In Mu§
See primary documentation in context for method WHY
multi method WHY(Mu: --> Pod::Block::Declarator)
Returns the attached Pod::Block::Declarator.
For instance:
sub cast(Spell )say .WHY;# OUTPUT: «Initiate a specified spell normally(do not use for class 7 spells)»
See Pod declarator blocks for details about attaching Pod to variables, classes, functions, methods, etc.
In RakuAST::Doc::DeclaratorTarget§
See primary documentation in context for method WHY
with .WHY
Returns the RakuAST::Doc::Declarator
object containing the declarator documentation, if any.