contains

abstract suspend fun contains(scope: String, key: String): Boolean

Checks whether a key exists in the given scope.

Return

true if the key exists, false otherwise.

Parameters

scope

The storage scope name.

key

The key to check.