This site permanently moved to
https://droidscript.github.io
. Please update links accordingly.
You are being forwarded automatically in 3...
[stay here]
Back
IsFolder
Hello World
Checks if the passed fs path leads to a folder.
app.IsFolder(
folder
) →
Boolean
See Also:
FolderExists
,
FileExists
Example - Check /sdcard/ available
click to expand contents
function
OnStart
(
)
{
var
isFolder
=
app
.
IsFolder
(
"/sdcard/"
)
;
app
.
Alert
(
isFolder
,
"/sdcard/ is Folder:"
)
;
}
Copy
Copy All
Run
String:
path to folder (
“/absolute/...”
or
“relative/...”
)
loading