* Throws an error if the first argument isn't an Element * * Otherwise see `assert` for usage * * @param {*} shouldBeElement * @param {!Array|string=} opt_message The assertion message * @return {!Element} The value of shouldBeTrueish. * @closurePrimitive {asserts.matchesReturn}
(shouldBeElement, opt_message)
| 412 | * @closurePrimitive {asserts.matchesReturn} |
| 413 | */ |
| 414 | assertElement(shouldBeElement, opt_message) { |
| 415 | return assertions.assertElement( |
| 416 | this.boundAssertFn_, |
| 417 | shouldBeElement, |
| 418 | opt_message |
| 419 | ); |
| 420 | } |
| 421 | |
| 422 | /** |
| 423 | * Throws an error if the first argument isn't a string. The string can |
no outgoing calls
no test coverage detected