Pike v8.0 release 1738

Method Stdio.is_dir()


Method is_dir

int is_dir(string path)

Description

Check if a path is a directory.

Returns

Returns true if the given path is a directory, otherwise false.

See also

exist(), is_file(), is_link(), file_stat()