Returns true if the specified stream points to an existing, non-temporary file, and false otherwise. For example, the function returns true for a stream that was created from a file with stream-open() or that was returned by a mapping. If the stream does not originate from a file, or if it is a temporary file, the function returns false.
is-file(s as stream) -> Boolean |
Name |
Type |
Description |
|---|---|---|
s |
stream |
Specifies the input stream. |