(actual: any, msg: string)
| 31 | } |
| 32 | |
| 33 | export function assertString(actual: any, msg: string): asserts actual is string { |
| 34 | if (!(typeof actual === 'string')) { |
| 35 | throwError(msg, actual === null ? 'null' : typeof actual, 'string', '==='); |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | export function assertFunction(actual: any, msg: string): asserts actual is Function { |
| 40 | if (!(typeof actual === 'function')) { |
no test coverage detected
searching dependent graphs…