EXISTS
Syntax
Section titled “Syntax”EXISTS key [key ...]
EXISTS command returns the count of keys that exist among the given arguments without modifying them.
Examples
Section titled “Examples”localhost:7379> SET k1 v1OKlocalhost:7379> SET k2 v2OKlocalhost:7379> EXISTS k1 k2 k3OK 2