MCPcopy
hub / github.com/tinyplex/tinybase / arrayUnshift

Function arrayUnshift

src/common/array.ts:98–101  ·  view source on GitHub ↗
(
  array: Value[],
  ...values: Value[]
)

Source from the content-addressed store, hash-verified

96 array.pop();
97
98export const arrayUnshift = <Value>(
99 array: Value[],
100 ...values: Value[]
101): number => array.unshift(...values);
102
103export const arrayShift = <Value>(array: Value[]): Value | undefined =>
104 array.shift();

Callers 2

goBackwardImplFunction · 0.90
saveStoreFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…