is_file

is_file — determines if a file exists.

Syntax

is_file (path)

		

Arguments

path

A character string defining a file path and file name in this file system.

Returns

t if the named file exists and is a regular file, otherwise nil.

Example

Gamma> is_file("/usr/doc/FAQ/txt/FAQ");
t
Gamma> 
		

See Also

is_dir