Visit Mozilla.org

XPInstall API Reference:File Object:Methods:isDirectory

From MDC

Contents

[edit] isDirectory

Returns a boolean value indicating whether the specified FileSpecObject is a directory.

[edit] Method of

File object

[edit] Syntax

boolean isDirectory ( FileSpecObject NativeFolderPath );

[edit] Parameters

The isDirectory method has the following parameters:

NativeFolderPath
A FileSpecObject representing the queried directory.

[edit] Returns

A boolean value indicating whether the object is a directory or not.