Table.indexOf=function(M,J)local C=table.find(M,J)if C then return C end return Table.keyOf(M,J)end

Table.indexOf = function (tbl, value)
	local fromFind = table.find(tbl, value)
	if fromFind then return fromFind end

	return Table.keyOf(tbl, value)
end
