The goog.labs.testing.HasKeyMatcher Class

goog.labs.testing.HasKeyMatcher(key)

The HasKey matcher.

key {string}
The key to check in the object.

.describe()

.matches()

Determines if an object has a key.