(_a, candidate)
| 2427 | } |
| 2428 | ts.tryRemovePrefix = tryRemovePrefix; |
| 2429 | function isPatternMatch(_a, candidate) { |
| 2430 | var prefix = _a.prefix, suffix = _a.suffix; |
| 2431 | return candidate.length >= prefix.length + suffix.length && |
| 2432 | startsWith(candidate, prefix) && |
| 2433 | endsWith(candidate, suffix); |
| 2434 | } |
| 2435 | function and(f, g) { |
| 2436 | return function (arg) { return f(arg) && g(arg); }; |
| 2437 | } |
no test coverage detected
searching dependent graphs…