code | type | title | description |
---|---|---|---|
false |
page |
type |
MemoryStorage:type |
Returns the type of the value held by a key.
Arguments | Type | Description |
---|---|---|
key |
string | Key identifier |
options |
JSON Object | Optional parameters |
callback |
function | Callback |
Option | Type | Description | Default |
---|---|---|---|
queuable |
boolean | Make this request queuable or not | true |
Returns one of the following values: hash
, list
, set
, string
, zset
.
<<< ./snippets/type-1.js
Callback response:
"zset"