MCPcopy Create free account
hub / github.com/beutton/browser-flight-simulator / toArray

Method toArray

packages/core/src/Rectangle.ts:83–89  ·  view source on GitHub ↗
(array: number[] = [], offset = 0)

Source from the content-addressed store, hash-verified

81 }
82
83 toArray(array: number[] = [], offset = 0): number[] {
84 array[offset] = this.west
85 array[offset + 1] = this.south
86 array[offset + 2] = this.east
87 array[offset + 3] = this.north
88 return array
89 }
90
91 *[Symbol.iterator](): Generator<number> {
92 yield this.west

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected