file...is file

operator

Return type: Switch
Returns:       Returns true if the path named is a file, and false otherwise. Using isnt instead of is will reverse the results.

Syntax
file string-expression (is | isnt) file


Purpose

An operator that returns true if the file system path named by the string expression exists and is a file (not a directory).

Related Concepts