info cmdtype

DKF: Proposed new feature for Tcl. [See fossil branch dkf-command-type ]

info cmdtype commandName

Returns a string describing the “type” of the command called commandName. For procedures, it returns proc, for native commands, native, for 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.