search

goog.testing.mockmatchers.TypeOf

Provided By
Extends

A matcher that verifies that an argument is of a given type (e.g. "object").

new TypeOf( type )

Parameters
typestring

The type that a given argument must have.

Instance Methods