ksh as well. Found someone’s reference to various “what” type commands[1]:
> The whence command is a Korn Shell feature that tells how a name would be interpreted by the shell: it detects commands and aliases, and searches your path.
[1] http://www.robelle.com/smugbook/whence.html