isfile() or isdirectory)

T

Trever B

is there such a thing as "isfile" and "isdirectory"

I have an application where user type's the name of a directory.

Need to check if such directory exists?

also same with file

Need to check if such file exists?

thanks in advance
 
Top