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

Interface String

frontend/src/utils/extensions.ts:16–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14declare global {
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}
21
22String.prototype.removePrefix = function (this: string, prefix: string) {

Callers 15

objToQueryFunction · 0.70
processSidebarItemFunction · 0.70
isUInt64MaximumFunction · 0.70
prettyBytesFunction · 0.70
prettyMillisecondsFunction · 0.70
prettyNumberFunction · 0.70
toDecimalSeparatedFunction · 0.70
addPropFunction · 0.70
toSafeStringFunction · 0.70
renderMethod · 0.70
renderMethod · 0.70
isSuppressedFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…