(text, charCodes, start)
| 572 | } |
| 573 | ts.arraysEqual = arraysEqual; |
| 574 | function indexOfAnyCharCode(text, charCodes, start) { |
| 575 | for (var i = start || 0; i < text.length; i++) { |
| 576 | if (contains(charCodes, text.charCodeAt(i))) { |
| 577 | return i; |
| 578 | } |
| 579 | } |
| 580 | return -1; |
| 581 | } |
| 582 | ts.indexOfAnyCharCode = indexOfAnyCharCode; |
| 583 | function countWhere(array, predicate) { |
| 584 | var count = 0; |
nothing calls this directly
no test coverage detected