Checks if the given object is a filestream-object. A filestream-object you usually get, when calling fileOpen-function.
isFileObject(object);
→ returns boolean
Checks if the fileObj is a filestream-object.
filePath = expandPath("./myfile.txt");
fileObj = fileOpen(filePath);
writeOutput(isFileObject(fileObj));
Expected Result: true
Signup for cfbreak
to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.