is-routine
ErrorsCollection

is-routine

Synthesised documentation from type/Backtrace/Frame

From type/Backtrace/Frame

See Original text in context

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;