Method that returns the folder location from a file resource.
Note: The path is always returned with forward slashes as directory separators.
var myfile = new File("C:/temp/myfile.txt"); var folder = myfile.folder();
This method has no parameters.
|folder|| The folder of the file (as a string), such as