The goog.dom.pattern.callback.Test Class

goog.dom.pattern.callback.Test()

Callback class for testing for at least one match.

.getCallback()

Get a bound callback function that is suitable as a callback for {@link goog.dom.pattern.Matcher}.

returns {Function}
A callback function.

.matched {boolean}

Whether or not the pattern matched.

.reset()

Reset the counter.