goog.testing.mockmatchers.TypeOf
Classgoog.testing.mockmatchers.TypeOf
> goog.testing.mockmatchers.ArgumentMatcher
goog.testing.mockmatchers.TypeOf(type)
A matcher that verifies that an argument is of a given type (e.g. "object").
type
{string
}
.matches(toVerify, opt_expectation)
Inherited from goog.testing.mockmatchers.ArgumentMatcher
.
A function that takes a match argument and an optional MockExpectation which (if provided) will get error information and returns whether or not it matches.
toVerify
{*}
opt_expectation
{goog.testing.MockExpectation
?=}
boolean
}