DroidScript wiki

(was AndroidScript) unofficial documentation by the community

User Tools

Site Tools


built_in:is_folder

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

built_in:is_folder [2015/03/21 13:00] (current)
madlyr created
Line 1: Line 1:
 +=====IsFolder=====
  
 +//​(Information and examples taken from the DroidScript documentation)//​
 +
 +====Description====
 +
 +Checks if **folder** is a file or folder. Returns "​true"​ or "​false"​ values.
 +
 +<​code>​app.IsFolder( folder );</​code>​
 +
 +----
 +
 +====Example====
 +
 +<code javascript>​
 +
 +app.ShowPopup( "/​sdcard/​DroidScript is a Folder: " + 
 +  app.IsFolder( "/​sdcard/​DroidScript"​ ) + 
 +  "​\n/​sdcard/​DroidScript/​index.html is a Folder: " + 
 +  app.IsFolder( "/​sdcard/​DroidScript/​index.html"​ ) );
 +
 +</​code>​
built_in/is_folder.txt ยท Last modified: 2015/03/21 13:00 by madlyr