txt: ## handled.md
  handled
  
  Combined from primary sources listed below.
  
  # [In Failure](#___top "go to top of document")[§](#(Failure)_method_handled "direct link")
  
  See primary documentation
  [in context](/type/Failure#method_handled)
  for **method handled**.
  
  ```raku
  method handled(Failure:D: --> Bool:D) is rw
  ```
  
  Returns `True` for handled failures, `False` otherwise.
  
  ```raku
  sub f() { fail }; my $v = f; say $v.handled; # OUTPUT: «False␤»
  ```
  
  The `handled` method is an [lvalue](/language/glossary#lvalue), see [routine trait `is rw`](/type/Routine#trait_is_rw), which means you can also use it to set the handled state:
  
  ```raku
  sub f() { fail }
  my $v = f;
  $v.handled = True;
  say $v.handled; # OUTPUT: «True␤»
  ```
  