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:

  • pos table Position of node.
  • key string Key to check for in node meta.

Returns:

    string Value of key.
alternode.set (pos, key, value)
Sets node meta value of a given key.

Parameters:

  • pos table Position of node.
  • key string Key to be set.
  • value string Value to be set for key.

Returns:

    bool true if succeeded.
alternode.unset (pos, key)
Unsets node meta value of a given key.

Parameters:

  • pos table Position of node.
  • key string Key to be unset.

Returns:

    bool true if succeeded.
generated by LDoc 1.4.6-antum-dev Last updated 2021-08-18 14:15:43