MCPcopy
hub / github.com/Splidejs/splide / push

Function push

src/js/utils/array/push/push.ts:12–15  ·  view source on GitHub ↗
( array: T[], items: T | T[] )

Source from the content-addressed store, hash-verified

10 * @return A provided array itself.
11 */
12export function push<T>( array: T[], items: T | T[] ): T[] {
13 array.push( ...toArray( items ) );
14 return array;
15}

Callers 5

generateFunction · 0.90
collectFunction · 0.90
push.test.tsFile · 0.90
initSlidesMethod · 0.90
generateClonesMethod · 0.90

Calls 1

toArrayFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…