(array)
| 1313 | } |
| 1314 | ts.firstOrUndefined = firstOrUndefined; |
| 1315 | function first(array) { |
| 1316 | ts.Debug.assert(array.length !== 0); |
| 1317 | return array[0]; |
| 1318 | } |
| 1319 | ts.first = first; |
| 1320 | /** |
| 1321 | * Returns the last element of an array if non-empty, `undefined` otherwise. |
nothing calls this directly
no test coverage detected
searching dependent graphs…