In bash, type is a shell builtin command where as which is a script.
So, using type is more preferable.
Also, some history and more.
1027 /usr/local> type which which is aliased to `alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde' 1028 /usr/local> type type type is a shell builtin