* Throws an error if the first argument isn't a number. The allowed values * include `0` and `NaN`. * * For more details see `assert`. * * @param {*} shouldBeNumber * @param {!Array|string=} opt_message The assertion message * @return {number} The number value. The allowed value
(shouldBeNumber, opt_message)
| 451 | * @closurePrimitive {asserts.matchesReturn} |
| 452 | */ |
| 453 | assertNumber(shouldBeNumber, opt_message) { |
| 454 | return assertions.assertNumber( |
| 455 | this.boundAssertFn_, |
| 456 | shouldBeNumber, |
| 457 | opt_message |
| 458 | ); |
| 459 | } |
| 460 | |
| 461 | /** |
| 462 | * Throws an error if the first argument is not an array. |
no outgoing calls
no test coverage detected