MCPcopy
hub / github.com/tldraw/tldraw / endsWith

Method endsWith

apps/docs/scripts/lib/utils.ts:140–142  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

138 }
139
140 endsWith(str: string) {
141 return this.result.endsWith(str)
142 }
143
144 writeIfNeeded(str: string): this {
145 if (!this.endsWith(str)) {

Callers 15

writeIfNeededMethod · 0.95
stateToBlueprintFunction · 0.80
isAllowedOriginFunction · 0.80
getOpenMenusFunction · 0.80
clearOpenMenusFunction · 0.80
handleKeyDownFunction · 0.80
onSelectFunction · 0.80

Calls

no outgoing calls

Tested by 1

convertReactToVercelFunction · 0.64