isFile
Returns a boolean value indicating whether the given FileSpecObject is a file.
Method of
FileSyntax
boolean isFile (FileSpecObject NativeFolderPath);Parameters
The
isFilemethod has the following parameters:Returns
A boolean value indicating whether the FileSpecObject is a file or not.
Example
f = getFolder( "Program", "sample.txt" ); if ( File.isFile(f) ) // the object represents a file
| Netscape Communications devedge.netscape.com |