function Expectation.a(z,T)local C=(type(z.value)==T)==z.successCondition local M=formatMessage(z.successCondition,("\069\120\112\101\099\116\101\100 \118\097\108\117\101 \111\102 \116\121\112\101 \037\113\044 \103\111\116 \118\097\108\117\101 \037\113 \111\102 \116\121\112\101 \037\115"):format(T,tostring(z.value),type(z.value)),("\069\120\112\101\099\116\101\100 \118\097\108\117\101 \110\111\116 \111\102 \116\121\112\101 \037\113\044 \103\111\116 \118\097\108\117\101 \037\113 \111\102 \116\121\112\101 \037\115"):format(T,tostring(z.value),type(z.value)))assertLevel(C,M,3)z:_resetModifiers()return z end

function Expectation:a(typeName)
	local result = (type(self.value) == typeName) == self.successCondition

	local message = formatMessage(self.successCondition,
		("Expected value of type %q, got value %q of type %s"):format(
			typeName,
			tostring(self.value),
			type(self.value)
		),
		("Expected value not of type %q, got value %q of type %s"):format(
			typeName,
			tostring(self.value),
			type(self.value)
		)
	)

	assertLevel(result, message, 3)
	self:_resetModifiers()

	return self
end
