TCL: get the class name of an object?

incr-tcl, tcl

Solution

Try using info class e.g.

objName info class

See also http://wiki.tcl.tk/12629 for more information on checking existence using itcl::is

itcl::is object objName

Problem

How to get class name of itcl object or check if the object exists?

Original source