isFolder関数は、指定されたパスがフォルダを表しているかどうかを判定するために使用されます。
isFolder
var tf = file.isFolder("myFolder");
file. isFolder ( path )
Boolean
path
String