* Throws an error if the first argument is not an array. * The array can be empty. * * @param {*} shouldBeArray * @param {!Array|string=} opt_message The assertion message * @return {!Array} The array value * @closurePrimitive {asserts.matchesReturn}
(shouldBeArray, opt_message)
| 468 | * @closurePrimitive {asserts.matchesReturn} |
| 469 | */ |
| 470 | assertArray(shouldBeArray, opt_message) { |
| 471 | return assertions.assertArray( |
| 472 | this.boundAssertFn_, |
| 473 | shouldBeArray, |
| 474 | opt_message |
| 475 | ); |
| 476 | } |
| 477 | |
| 478 | /** |
| 479 | * Throws an error if the first argument isn't a boolean. |
no outgoing calls
no test coverage detected