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

Function strEndsWith

src/common/strings.ts:110–111  ·  view source on GitHub ↗
(str: string, suffix: string)

Source from the content-addressed store, hash-verified

108 str.startsWith(prefix);
109
110export const strEndsWith = (str: string, suffix: string) =>
111 str.endsWith(suffix);
112
113export const strMatch = (str: string | undefined, regex: RegExp) =>
114 str?.match(regex);

Callers 1

index.tsFile · 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…