(condition: unknown, message: string)
| 4 | // This file is excluded from the library build (tsconfig excludes `examples/`). |
| 5 | |
| 6 | const assert = (condition: unknown, message: string): void => { |
| 7 | if (!condition) throw new Error(message); |
| 8 | }; |
| 9 | |
| 10 | const assertRange = ( |
| 11 | label: string, |