The if statement actually uses the program 'test' for the tests. You could write if statements two ways:
if [ -e filename ];
or
if test -e filename;
If you know this, you can easily check the man page for 'test' to find out the meanings of the different tests:
man test