(expr: unknown, msg = "")
| 18 | * @throws {AssertionError} If `expr` is falsy. |
| 19 | */ |
| 20 | export function assert(expr: unknown, msg = ""): asserts expr { |
| 21 | if (!expr) { |
| 22 | throw new AssertionError(msg); |
| 23 | } |
| 24 | } |
no outgoing calls
no test coverage detected