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

Function strStartsWith

src/common/strings.ts:107–108  ·  view source on GitHub ↗
(str: string, prefix: string)

Source from the content-addressed store, hash-verified

105export const strRepeat = (str: string, count: number) => str.repeat(count);
106
107export const strStartsWith = (str: string, prefix: string) =>
108 str.startsWith(prefix);
109
110export const strEndsWith = (str: string, suffix: string) =>
111 str.endsWith(suffix);

Callers 4

index.tsFile · 0.90
deconstructKeyFunction · 0.90
saveStoreFunction · 0.90
deconstructFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…