HasKey
public bool HasKey(string key);
Parameter
Value | Type | Description |
---|---|---|
key | string | Key value of the data to be checked |
Description
Checks the data sent from the SDK(BACKND Base).
If you enter the key value of the data you want to check, it returns a bool value for whether the data exists.
Example
bool isExist = Backend.HasKey("myKey");
Return cases
When the corresponding key exists in the data sent by the SDK true
When the corresponding key does not exist in the data sent by the SDK false