is_file

Gamma: Version 4.0
Prev |  | Next

# `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`

Prev | Home | Next
`is_dir` | Up | `is_readable`

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.