(shouldBeNumber, opt_message)
| 103 | * @throws {Error} when shouldBeNumber is not an Number |
| 104 | */ |
| 105 | export function userAssertNumber(shouldBeNumber, opt_message) { |
| 106 | return assertions.assertNumber( |
| 107 | /** @type {import('./base').AssertionFunctionDef} */ (userAssert), |
| 108 | shouldBeNumber, |
| 109 | opt_message |
| 110 | ); |
| 111 | } |
| 112 | |
| 113 | /** |
| 114 | * Throws an error if the first argument is not an array. |
nothing calls this directly
no test coverage detected