(str, prefix)
| 2414 | } |
| 2415 | ts.findBestPatternMatch = findBestPatternMatch; |
| 2416 | function startsWith(str, prefix) { |
| 2417 | return str.lastIndexOf(prefix, 0) === 0; |
| 2418 | } |
| 2419 | ts.startsWith = startsWith; |
| 2420 | function removePrefix(str, prefix) { |
| 2421 | return startsWith(str, prefix) ? str.substr(prefix.length) : str; |
no outgoing calls
no test coverage detected
searching dependent graphs…