Pike v8.1 release 6

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