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

Function setFirstString

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

Source from the content-addressed store, hash-verified

88};
89
90export const setFirstString = (
91 arrOrStr: ArrayJoinInput<string>,
92 text: string
93) => modifyItem(arrOrStr, { position: "first", type: "set", text });
94
95export const prefixFirstString = (
96 arrOrStr: ArrayJoinInput<string>,

Callers

nothing calls this directly

Calls 1

modifyItemFunction · 0.85

Tested by

no test coverage detected