( actual: T, expected: T, msg: string, )
| 85 | } |
| 86 | |
| 87 | export function assertGreaterThanOrEqual<T>( |
| 88 | actual: T, |
| 89 | expected: T, |
| 90 | msg: string, |
| 91 | ): asserts actual is T { |
| 92 | if (!(actual >= expected)) { |
| 93 | throwError(msg, actual, expected, '>='); |
| 94 | } |
| 95 | } |
| 96 | |
| 97 | export function assertNotDefined<T>(actual: T, msg: string) { |
| 98 | if (actual != null) { |
no test coverage detected
searching dependent graphs…