native
TrieSnapshotLength
Syntax
native TrieSnapshotLength(Snapshot:handle);
Description
Returns the number of keys in a map snapshot. Note that this may be
different from the size of the map, since the map can change after the
snapshot of its keys was taken.
Parameters
| handle | Map snapshot handle |
|---|
Return
Number of keys
Error
If an invalid handle is provided an error will be
thrown.