is_dir

is_dir -- Tells whether the filename is a directory

Description

bool is_dir ( string filename)

See also chdir( ) , is_file( ) and is_link( ) .