API ReferenceHashes
HExists
Check if a field exists in a hash
Syntax
Redix.HExists(key, field, callback)Parameters
Prop
Type
Returns
Prop
Type
Example
Redix.HExists('player:123', 'premiumStatus', function(err, exists)
if not err then
if exists then
print('Player has premium')
end
end
end)