query related to if

wht does below statement mean?

if [ ! -d $var_pathtotemp ]

wht does dis -d option do??

TIA.

See manual pages (man test):