function t.nan(o)local M=typeof(o)if M=="\110\117\109\098\101\114"then if o~=o then return true else return false end else return false end end
--[[**
	ensures value is NaN

	@param value The value to check against

	@returns True iff the condition is satisfied, false otherwise
**--]]
function t.nan(value)
	local valueType = typeof(value)
	if valueType == "number" then
		if value ~= value then
			return true
		else
			return false
		end
	else
		return false
	end
end
