Back

FileExists

FileExists returns whether a given file exits or not.

  app.FileExists( file ) → boolean

Example - Example



function OnStart()
{
    exists = app.FileExists( "/sdcard/wftest.txt" );
    app.ShowPopup( exists );
}
    Copy     Copy All       Run      

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