When you pass any command or even any word to type you will get as the output the type of word you have passed to it, and if it is a command it will let you know the type of command it is.