Back

FolderExists

Returns whether a given folder exits or not.

  app.FolderExists( folder ) → boolean

Example - Example



function OnStart()
{
    exists = app.FolderExists( "/sdcard/IOIOScript" );
    app.ShowPopup( exists );
}
    Copy     Copy All       Run      

string: path to file or folder ( "/absolute/..." or "relative/..." )