isFolder 函数用于确定给定路径是否表示一个文件夹。
isFolder
var tf = file.isFolder("myFolder");
file. isFolder ( path )
Boolean
path
String