info class methodtype

info class methodtype class method

Returns what type of method is named method on the TclOO class called class. The two method types that are of most interest are:

  • methodmethod was declared with the method definition; use info class definition to introspect further.
  • forwardmethod was declared with the forward definition; use info class forward to introspect further.

Note that use of this command requires a very recent version of TclOO.