Returns if field is an existing field in the hash stored at key.
Examples
127.0.0.1:6379> HSET myhash field1 "foo"
(integer) 1
127.0.0.1:6379> HEXISTS myhash field1
(integer) 1
127.0.0.1:6379> HEXISTS myhash field2
(integer) 0
Determines whether a field exists in a hash.
Returns if field is an existing field in the hash stored at key.
127.0.0.1:6379> HSET myhash field1 "foo"
(integer) 1
127.0.0.1:6379> HEXISTS myhash field1
(integer) 1
127.0.0.1:6379> HEXISTS myhash field2
(integer) 0
One of the following:
0 if the hash does not contain the field, or the key does not exist.1 if the hash contains the field.One of the following:
0 if the hash does not contain the field, or the key does not exist.1 if the hash contains the field.