Visit Mozilla.org

nsIFile:exists

From MDC

« XPCOM API Reference

[edit] Summary

This method tests whether or not this nsIFile exists.

 boolean exists();

[edit] Return Values

This method returns true if the file or directory exists. Otherwise it returns false.

[edit] See Also

nsIFile