ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、视频、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
## hExists ##### Description Verify if the specified member exists in a key. 验证HASH表中是否存在指定的KEY-VALUE ##### Parameters *key* *memberKey* ##### Return value *BOOL*: If the member exists in the hash table, return `<span class="calibre12">TRUE</span>`, otherwise return `<span class="calibre12">FALSE</span>`. ##### Examples ``` <pre class="calibre16">$redis->hSet('h', 'a', 'x'); $redis->hExists('h', 'a'); /* TRUE */ $redis->hExists('h', 'NonExistingKey'); /* FALSE */ ``` ##