function _Utils.tableContains()

in scripts/lua/lib/utils.lua [86:93]


function _Utils.tableContains(table, element)
  for _, value in pairs(table) do
    if value == element then
      return true
    end
  end
  return false
end