is file

operator

Return type:
Switch
Returns:
True if the stream was opened as a file.
Syntax
stream-name indexer? (is | isnt) file


Purpose

You can use is file to test if a stream was opened as a file. Using isnt instead of is will reverse the results.

Related Syntax