HEXISTS

Usage:
HEXISTS key field
Complexity:
O(1)
Since:
2.0.0

Returns if field is an existing field in the hash stored at key.

Examples

HSET myhash field1 "foo"
HEXISTS myhash field1
HEXISTS myhash field2