Answers for "check if an table has anything in it lua"

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

Code answers related to "check if an table has anything in it lua"

Browse Popular Code Answers by Language