MCPcopy
hub / github.com/redpanda-data/console / removePrefix

Method removePrefix

frontend/src/utils/extensions.ts:17–17  ·  view source on GitHub ↗
(this: string, prefix: string)

Source from the content-addressed store, hash-verified

15 // biome-ignore lint/style/useConsistentTypeDefinitions: leave as interface due to type checker
16 interface String {
17 removePrefix(this: string, prefix: string): string;
18 removeSuffix(this: string, suffix: string): string;
19 }
20}

Callers 4

loginHandlingFunction · 0.80
componentDidCatchMethod · 0.80
env.tsFile · 0.80
addPropFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected