HasVariable

Method

Checks if a variable exists at the given key.

Remarks

The key can be a / separated path to find a variable in a nested dictionary. For example, the key "player/inventory/loot" will check if a variable exists at dataStore["player"]["inventory"].

Definition

DataStoreHasVariableRequest HasVariable(string key)
DataStoreHasVariableRequest HasVariable(string key)

Returns DataStoreHasVariableRequest

Parameters

ParameterDescription
string key