MCPcopy Create free account
hub / github.com/d1ll0n/stack-packer / prefixFirstString

Function prefixFirstString

src/lib/text.ts:95–98  ·  view source on GitHub ↗
(
  arrOrStr: ArrayJoinInput<string>,
  text: string
)

Source from the content-addressed store, hash-verified

93) => modifyItem(arrOrStr, { position: "first", type: "set", text });
94
95export const prefixFirstString = (
96 arrOrStr: ArrayJoinInput<string>,
97 text: string
98) => modifyItem(arrOrStr, { position: "first", type: "prefix", text });
99
100export const suffixFirstString = (
101 arrOrStr: ArrayJoinInput<string>,

Callers 2

getEncoderFunction · 0.90
getOverflowCheckFunction · 0.90

Calls 1

modifyItemFunction · 0.85

Tested by

no test coverage detected