MCPcopy Create free account
hub / github.com/tinyplex/tinybase / has

Function has

src/ui-solid-inspector/index.tsx:434–435  ·  view source on GitHub ↗
(cellId: Id)

Source from the content-addressed store, hash-verified

432const AddCell = (props: OnDoneProp & RowProps) => {
433 const store = useStoreOrStoreById(props.store)();
434 const has = (cellId: Id) =>
435 store?.hasCell(props.tableId, props.rowId, cellId) ?? false;
436 return NewId({
437 onDone: props.onDone,
438 suggestedId: getNewIdFromSuggestedId('cell', has),

Callers 4

getNewIdFromSuggestedIdFunction · 0.50
getNewIdFromSuggestedIdFunction · 0.50
handleNewIdChangeFunction · 0.50
NewIdFunction · 0.50

Calls 1

hasCellMethod · 0.65

Tested by

no test coverage detected