code | type | title | description |
---|---|---|---|
true |
page |
hlen |
MemoryStorage:hlen |
Returns the number of fields contained in a hash.
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 an integer containing the number of fields in the hash.
<<< ./snippets/hlen-1.java
Callback response:
13