(type, flags)
| 61098 | } |
| 61099 | // Return count of starting consecutive tuple elements of the given kind(s) |
| 61100 | function getStartElementCount(type, flags) { |
| 61101 | var index = ts.findIndex(type.elementFlags, function (f) { return !(f & flags); }); |
| 61102 | return index >= 0 ? index : type.elementFlags.length; |
| 61103 | } |
| 61104 | // Return count of ending consecutive tuple elements of the given kind(s) |
| 61105 | function getEndElementCount(type, flags) { |
| 61106 | return type.elementFlags.length - ts.findLastIndex(type.elementFlags, function (f) { return !(f & flags); }) - 1; |
no outgoing calls
no test coverage detected