(condition: boolean, message: string)
| 4 | // Do NOT use this to enforce a certain condition on any user input. |
| 5 | |
| 6 | export function assert(condition: boolean, message: string): void { |
| 7 | /* istanbul ignore if */ |
| 8 | if (!condition) { |
| 9 | throw new Error('ASSERT: ' + message); |
| 10 | } |
| 11 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…