(condition: boolean, msg?: string)
| 63 | * @param msg The message. |
| 64 | */ |
| 65 | export function assert(condition: boolean, msg?: string): asserts condition { |
| 66 | if (!condition) { |
| 67 | throw new Error("AssertError:" + (msg || "")); |
| 68 | } |
| 69 | } |
| 70 | |
| 71 | /** |
| 72 | * Get the path to the wasm library in nodejs. |
no outgoing calls
no test coverage detected
searching dependent graphs…