[DKF]: Proposed new feature for Tcl. ''[[See [fossil] branch `[https://core.tcl.tk/tcl/timeline?r=dkf-command-type%|%dkf-command-type]`]]'' : '''[info] type''' ''commandName'' Returns a string describing the “type” of the command called ''commandName''. For procedures, it returns '''proc''', for native commands, '''native''', for [interp alias%|%aliases], '''alias'''. There's a few others too. Does not dig deep into the complexities of what the command is, but does provide you with enough information to figure out what sort of introspection to use next. [rmax]: Maybe the command should be called [[info commandtype]] (or [[info cmdtype]] for short), to avoid confusion with other meanings of "type" (e.g. in the sense of typed variables). ---- '''[RFox] - 2013-07-10 18:10:53''' +1 for rmax's suggestion. <>Command|Introspection