File?

(file? argument) -> boolean

Tests if the given argument is a file.

Example:

>> (define a (open-file "test.txt" "r"))
:: [fileopen test.txt]
>> (file? a)
:: #t