fileExists

abstract suspend fun fileExists(filePath: String): Boolean

Checks if a file exists at the specified path.

Return

true if the file exists, false otherwise.

Parameters

filePath

The path of the file to check.

Throws

If an error occurs during the check.

If the operation is cancelled.