tmsh::get_type

Description

Returns the type identifier associated with the object. The $obj argument must be an object that was returned by either of the following Tcl commands:

Syntax

tmsh::get_type $obj

Examples

proc print_object { objVar } {
    upvar $objVar obj
    puts "[tmsh::get_type $obj] [tmsh::get_name $obj]"