Class goog.testing.mockmatchers.TypeOf
code »goog.testing.mockmatchers.ArgumentMatcher
└ goog.testing.mockmatchers.TypeOf
A matcher that verifies that an argument is of a given type (e.g. "object").
Constructor
goog.testing.mockmatchers.TypeOf ( type )
Parameters |
---|
|
Show:
Instance Methods
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.
Parameters |
---|
|
Returns |
|