In Pod::Item§

See primary documentation in context for method level

method level(--> Int)

Returns the level of the enumeration list, starting at 1.

In RakuAST::Doc::Block§

See primary documentation in context for method level

say "level = $block.level()";

Returns a string associated with the level. If the level is 0, then it will return an empty string. Otherwise it will return the stringification of the integer value.

In Pod::Heading§

See primary documentation in context for method level

method level(--> Int)

Returns the level of the heading, starting at 1.