In Pod::Block::Declarator§

See primary documentation in context for method trailing

method trailing(--> Str)

Returns the trailing Pod comment attached to the declarator

In RakuAST::Doc::Declarator§

See primary documentation in context for method trailing

.say for $declarator.trailing;

Returns the lines of the trailing declarator documentation (one for each line with #= if the object was created from parsing Raku source code.