Get Value

v = tools.getfield(id)
v = tools.getfield(t, id)

Safely access the ID into the table t (or the root Lua table).
Returns nil if it doesn't exist.

Parameter Type Description
id string ID reference
t table Table to locate in
Returns Type Description
v string/table/number Return value