Documentation for method is-hidden assembled from the following pages:

Class: Backtrace::Frame §

From Backtrace::Frame

(Backtrace::Frame) method is-hidden §

Defined as:

method is-hidden(Backtrace::Frame:D: --> Bool:D)

Returns True if the frame is marked as hidden with the is hidden-from-backtrace trait.

my $bt = Backtrace.new;
my $btf = $bt[0];
say $btf.is-hidden;