* Return true if the given type is considered to have numeric property names.
(type)
| 75191 | * Return true if the given type is considered to have numeric property names. |
| 75192 | */ |
| 75193 | function hasNumericPropertyNames(type) { |
| 75194 | return getIndexInfosOfType(type).length === 1 && !!getIndexInfoOfType(type, numberType); |
| 75195 | } |
| 75196 | /** |
| 75197 | * Return true if given node is an expression consisting of an identifier (possibly parenthesized) |
| 75198 | * that references a for-in variable for an object with numeric property names. |
no test coverage detected
searching dependent graphs…