(shouldBeString, opt_message)
| 84 | * @throws {Error} when shouldBeString is not an String |
| 85 | */ |
| 86 | export function userAssertString(shouldBeString, opt_message) { |
| 87 | return assertions.assertString( |
| 88 | /** @type {import('./base').AssertionFunctionDef} */ (userAssert), |
| 89 | shouldBeString, |
| 90 | opt_message |
| 91 | ); |
| 92 | } |
| 93 | |
| 94 | /** |
| 95 | * Throws an error if the first argument isn't a number. The allowed values |
nothing calls this directly
no test coverage detected