exists

expect fun exists(name: String, directory: String? = null): Boolean(source)

Checks whether a database of the given name exists in the given directory or not.

Return

true if exists, false otherwise.

Parameters

name

the database's name

directory

the path where the database is located.

actual fun exists(name: String, directory: String?): Boolean(source)
actual fun exists(name: String, directory: String?): Boolean(source)