* Will throw if statement is false. * @static * @param {boolean} isTrue The expression to evaluate.
(isTrue)
| 178 | * @param {boolean} isTrue The expression to evaluate. |
| 179 | */ |
| 180 | static assert(isTrue) { |
| 181 | Debugger.initParams(); |
| 182 | if (!isTrue) { |
| 183 | throw `Assert Error: ${isTrue}`; |
| 184 | } |
| 185 | } |
| 186 | |
| 187 | /** |
| 188 | * Returns a boolean indicating if the debugger has been enabled or not. |
no test coverage detected