Topic api
Alternode API
Functions
alternode.get (pos, key) | Retrieves node meta value of a given key. |
alternode.set (pos, key, value) | Sets node meta value of a given key. |
alternode.unset (pos, key) | Unsets node meta value of a given key. |
Functions
- alternode.get (pos, key)
-
Retrieves node meta value of a given key.
Parameters:
Returns:
-
string
Value of key.
- alternode.set (pos, key, value)
-
Sets node meta value of a given key.
Parameters:
Returns:
-
bool
true
if succeeded. - alternode.unset (pos, key)
-
Unsets node meta value of a given key.
Parameters:
Returns:
-
bool
true
if succeeded.