TCL: get object class name?

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

+3
source share
1 answer

Try using an information class, for example.

objName info class

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

itcl::is object objName
+6
source

All Articles