In Backtrace::Frame§
See primary documentation in context for method is-routine.
method is-routine(Backtrace::Frame:D: --> Bool:D)
Return True
if the frame points into a routine (and not into a mere Block
).
my $bt = Backtrace.new; my $btf = $bt[0]; say $btf.is-routine;