(id: Key | undefined, state: TableState<unknown>)
| 2355 | } |
| 2356 | |
| 2357 | function isFirstItem(id: Key | undefined, state: TableState<unknown>) { |
| 2358 | if (id == null || !state) { |
| 2359 | return false; |
| 2360 | } |
| 2361 | return state.collection.getFirstKey() === id; |
| 2362 | } |
no test coverage detected