* Throws an error if the first argument isn't a boolean. * * For more details see `assert`. * * @param {*} shouldBeBoolean * @param {!Array|string=} opt_message The assertion message * @return {boolean} The boolean value. * @closurePrimitive {asserts.matchesReturn}
(shouldBeBoolean, opt_message)
| 486 | * @closurePrimitive {asserts.matchesReturn} |
| 487 | */ |
| 488 | assertBoolean(shouldBeBoolean, opt_message) { |
| 489 | return assertions.assertBoolean( |
| 490 | this.boundAssertFn_, |
| 491 | shouldBeBoolean, |
| 492 | opt_message |
| 493 | ); |
| 494 | } |
| 495 | } |
| 496 | |
| 497 | /** |
no outgoing calls
no test coverage detected