(shouldBeArray, opt_message)
| 122 | * @throws {Error} when shouldBeArray is not an Array |
| 123 | */ |
| 124 | export function userAssertArray(shouldBeArray, opt_message) { |
| 125 | return assertions.assertArray( |
| 126 | /** @type {import('./base').AssertionFunctionDef} */ (userAssert), |
| 127 | shouldBeArray, |
| 128 | opt_message |
| 129 | ); |
| 130 | } |
| 131 | |
| 132 | /** |
| 133 | * Throws an error if the first argument isn't a boolean. |
nothing calls this directly
no test coverage detected