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

Function suffixFirstString

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

Source from the content-addressed store, hash-verified

98) => modifyItem(arrOrStr, { position: "first", type: "prefix", text });
99
100export const suffixFirstString = (
101 arrOrStr: ArrayJoinInput<string>,
102 text: string
103) => modifyItem(arrOrStr, { position: "first", type: "suffix", text });
104
105export const setLastString = (arrOrStr: ArrayJoinInput<string>, text: string) =>
106 modifyItem(arrOrStr, { position: "last", type: "set", text });

Callers

nothing calls this directly

Calls 1

modifyItemFunction · 0.85

Tested by

no test coverage detected