Answers for "lua table contains"

C++
0

lua table contains

local tryingToGet = "value"
for _,v in pairs(table) do
  if v == tryingToGet then
    break
  end
end
Posted by: Guest on April-23-2021

Browse Popular Code Answers by Language