Checks if the key-value pair exists in the datastore of the current contract.
A boolean value indicating whether the key-value pair exists in the datastore or not.
key
string
StaticArray<u8>
Args
Can be either string, Args, or StaticArray<u8>.
The key to check for existence in the datastore.
Generated using TypeDoc
Checks if the key-value pair exists in the datastore of the current contract.
Returns
A boolean value indicating whether the key-value pair exists in the datastore or not.
Throws
key
type are neitherstring
,StaticArray<u8>
, orArgs
.