int is_dir(string path)
Check if a path is a directory.
Returns true if the given path is a directory, otherwise false.
exist() , is_file() , is_link() , file_stat()