( storeOrStoreId: StoreOrStoreId | undefined, tableId: Id, )
| 136 | }; |
| 137 | |
| 138 | const useHasRowCallback = ( |
| 139 | storeOrStoreId: StoreOrStoreId | undefined, |
| 140 | tableId: Id, |
| 141 | ) => { |
| 142 | const store = useStoreOrStoreById(storeOrStoreId); |
| 143 | return (rowId: Id) => store()?.hasRow(tableId, rowId) ?? false; |
| 144 | }; |
| 145 | |
| 146 | const useHasValueCallback = (storeOrStoreId: StoreOrStoreId | undefined) => { |
| 147 | const store = useStoreOrStoreById(storeOrStoreId); |
no test coverage detected
searching dependent graphs…