Pike v8.0 release 1738

Method Stdio.is_file()


Method is_file

int is_file(string path)

Description

Check if a path is a file.

Returns

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

See also

exist(), is_dir(), is_link(), file_stat()