martaFile

Method exists()

fun File:exists(): Boolean

Suspends

Checks if the file exists.

Returns if the file exists and can be accessed by Marta. Note that even after a successful existence check, the file can be deleted in background. The check is not a replacement for proper error handling.