Skip to content

low LUA-JIT problems #36

@fostfox

Description

@fostfox

Very long working in our version

function contains(value, array)
	for i = 1, #array do
		if array[i] == value then
			return true
		end
	end
	
	if type(value) == 'table' then
		for i = 1, #array do
			for j = 1, #value do
				if array[i] == value[j] then
					return true
				end
			end
		end
	end

	return false
end

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions