The "if" is not a command in Unix. It is a shell built-in. Means it is not there as a executable but will be available in the shell.
So you have to refer to the respective shell manual pages for the reference.
If you use Korn Shell, refer "man ksh"
Thanks
Vijay
Known is a drop, unknown is ocean - visit me at http://vijay.theunixplace.com