is-setting
ErrorsCollection

is-setting

Synthesised documentation from type/Backtrace/Frame

From type/Backtrace/Frame

See Original text in context

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

Returns True if the frame is part of a setting.

my $bt = Backtrace.new;
my $btf = $bt[0];
say $btf.is-setting# OUTPUT: «True␤»