MCPcopy
hub / github.com/tinyplex/tinybase / id

Function id

src/common/strings.ts:103–103  ·  view source on GitHub ↗
(key: unknown)

Source from the content-addressed store, hash-verified

101export const JSON_PREFIX = '\uFFFD';
102
103export const id = (key: unknown): Id => EMPTY_STRING + key;
104
105export const strRepeat = (str: string, count: number) => str.repeat(count);
106

Callers 15

getTableFunction · 0.90
getTableCellIdsFunction · 0.90
getRowCountFunction · 0.90
getRowIdsFunction · 0.90
getSortedRowIdsFunction · 0.90
getRowFunction · 0.90
getCellIdsFunction · 0.90
getCellFunction · 0.90
getValueFunction · 0.90
hasTableFunction · 0.90
hasTableCellFunction · 0.90
hasRowFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected