(id: Key | undefined, state: TreeState<unknown>)
| 864 | } |
| 865 | |
| 866 | function isFirstItem(id: Key | undefined, state: TreeState<unknown>) { |
| 867 | if (id == null || !state) { |
| 868 | return false; |
| 869 | } |
| 870 | return state.collection.getFirstKey() === id; |
| 871 | } |
no test coverage detected