is_dir Tells whether the filename is a directory &reftitle.description; boolis_dir stringfilename Tells whether the given filename is a directory. &reftitle.parameters; filename Path to the file. If filename is a relative filename, it will be checked relative to the current working directory. &reftitle.returnvalues; Returns &true; if the filename exists and is a directory, &false; otherwise. &reftitle.examples; <function>is_dir</function> example ]]> &example.outputs; &reftitle.notes; ¬e.clearstatcache; &tip.fopen-wrapper.stat; &reftitle.seealso; chdir dir opendir is_file is_link