lua is in table code example
Example 1: table in lua
local myTable = {}
Example 2: Lua How to check what index belongs to value
local index={}
for k,v in pairs(values) do
index[v]=k
end
return index["a"]
local myTable = {}
local index={}
for k,v in pairs(values) do
index[v]=k
end
return index["a"]