Put your logo here!

TOC PREV NEXT



isFile

Returns a boolean value indicating whether the given FileSpecObject is a file.

Method of

 File

Syntax

 boolean isFile (FileSpecObject NativeFolderPath);

Parameters

The isFile method has the following parameters:

 NativeFolderPath

A FileSpecObject representing the queried file object.

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
TOC PREV NEXT