MCPcopy
hub / github.com/vuetifyjs/vuetify / push

Method push

packages/vuetify/src/util/helpers.ts:546–549  ·  view source on GitHub ↗
(val: T)

Source from the content-addressed store, hash-verified

544 }
545
546 push (val: T) {
547 this.#arr[this.#pointer] = val
548 this.#pointer = (this.#pointer + 1) % this.size
549 }
550
551 values (): T[] {
552 return this.#arr.slice(this.#pointer).concat(this.#arr.slice(0, this.#pointer))

Callers 15

makeExamplesFromPropsFunction · 0.80
createCompareFnFunction · 0.80
usePivotFunction · 0.80
makeCellFunction · 0.80
buildExplicitColumnsFunction · 0.80
buildInferredColumnsFunction · 0.80
toggleFunction · 0.80
mergeRangesFunction · 0.80
chunkTextFunction · 0.80
findRangesFunction · 0.80
registerItemHotkeysFunction · 0.80

Calls

no outgoing calls

Tested by 2

loadFunction · 0.64
loadFunction · 0.64