Declared in StateModel
Declaration
bool HasState(
string key
);
Description
Returns whether the state exists in the cache or not. This is useful for checking if a state exists before trying to access it.
Parameters
Name | Description |
---|---|
key | The key to check |