file ... is file

operator

Return type:
Switch
Returns:
true if the system path named by string-expression exists and is a file, false otherwise.
Syntax
file string-expression (is | isnt) file


Purpose

The file ... is file test is used to determine if the system path named by string-expression exists and is a file. Using isnt instead of is will reverse the results.