file ... is file

operator

Return type:
Switch
Returns:
True if the system path named by the string expression is a file, and 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 the string expression exists and is a file. Using isnt instead of is will reverse the results.