* Throws an error if the first argument isn't a string. The string can * be empty. * * For more details see `assert`. * * @param {*} shouldBeString * @param {!Array|string=} opt_message The assertion message * @return {string} The string value. Can be an empty string. * @clos
(shouldBeString, opt_message)
| 431 | * @closurePrimitive {asserts.matchesReturn} |
| 432 | */ |
| 433 | assertString(shouldBeString, opt_message) { |
| 434 | return assertions.assertString( |
| 435 | this.boundAssertFn_, |
| 436 | shouldBeString, |
| 437 | opt_message |
| 438 | ); |
| 439 | } |
| 440 | |
| 441 | /** |
| 442 | * Throws an error if the first argument isn't a number. The allowed values |
no outgoing calls
no test coverage detected