Get the type of a key.
The key to get.
The type of the key.
One of string | list | set | zset | hash | none
string
list
set
zset
hash
none
Was this page helpful?