_server.isFile()
Availability:
SmartFoxServer PRO 1.2.1
Usage:
_server.isFile(fileName)
Description:
Checks if the passed argument is a file
Properties:
fileName | the name of the file to check |
Returns:
True if the passed argument is a file.
Example:
/* * Check if the log folder is a File */ var exists = _server.isFile("logs") if (exists) trace("It's a file !") else trace("Not a file, probably a folder!")
See also: