(val: boolean, message?: string)
| 37 | } |
| 38 | |
| 39 | export function assert(val: boolean, message?: string): void { |
| 40 | if (!val) { |
| 41 | throw new AssertionError(message); |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | /** |
| 46 | * Count the number of elements of the `array` that are equal to `reference`. |
no outgoing calls
no test coverage detected
searching dependent graphs…