MCPcopy Index your code
hub / github.com/tinyplex/tinybase / useHasTableCallback

Function useHasTableCallback

src/ui-solid-inspector/index.tsx:133–136  ·  view source on GitHub ↗
(storeOrStoreId: StoreOrStoreId | undefined)

Source from the content-addressed store, hash-verified

131};
132
133const useHasTableCallback = (storeOrStoreId: StoreOrStoreId | undefined) => {
134 const store = useStoreOrStoreById(storeOrStoreId);
135 return (tableId: Id) => store()?.hasTable(tableId) ?? false;
136};
137
138const useHasRowCallback = (
139 storeOrStoreId: StoreOrStoreId | undefined,

Callers 2

AddTableFunction · 0.70
CloneTableFunction · 0.70

Calls 3

useStoreOrStoreByIdFunction · 0.90
hasTableMethod · 0.65
storeFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…