local z=import("\046\046\047\116\121\112\101\075\101\121")local function w(w)local l=type(w)if l=="\117\115\101\114\100\097\116\097"then local l=getmetatable(w)if l==nil then return"\117\115\101\114\100\097\116\097"end if l[z]~=nil then return l[z]end end return l end return w
local typeKey = import("../typeKey")

local function typeof(object)
	local realType = type(object)

	if realType == "userdata" then
		local metatable = getmetatable(object)

		if metatable == nil then
			return "userdata"
		end

		if metatable[typeKey] ~= nil then
			return metatable[typeKey]
		end
	end

	return realType
end

return typeof