(actual: any, message?: string)
| 277 | } |
| 278 | |
| 279 | export function assertNull(actual: any, message?: string) { |
| 280 | if (actual !== null && actual !== undefined) { |
| 281 | throw new Error(message + ' Actual: ' + actual + ' is not null/undefined'); |
| 282 | } |
| 283 | } |
| 284 | |
| 285 | export function assertNotNull(actual: any, message?: string) { |
| 286 | if (actual === null || actual === undefined) { |
no outgoing calls
no test coverage detected