PYTHON DirectoryIterator::isDir

is this article helpful?
|
Python replacement for PHP's DirectoryIterator::isDir [ edit | history ]
os.path.isdir(path)
Return True if path is an existing directory. This follows symbolic links, so both islink() and isdir() can be true for the same path.

PHP DirectoryIterator::isDir

PHP original manual for DirectoryIterator::isDir [ show | php.net ]

DirectoryIterator::isDir

(PHP 5 <= 5.1.1)

DirectoryIterator::isDirReturns true if file is directory

Description

bool DirectoryIterator::isDir ( void )
Warning

This function is currently not documented; only its argument list is available.

Check if the file is a directory.

Parameters

This function has no parameters.

Return Values

TRUE if it is a directory, otherwise FALSE