Pike v8.1 release 6

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()