MCPcopy Create free account
hub / github.com/adobe/react-spectrum / copy

Method copy

packages/react-stately/src/virtualizer/Point.ts:28–30  ·  view source on GitHub ↗

* Returns a copy of this point.

()

Source from the content-addressed store, hash-verified

26 * Returns a copy of this point.
27 */
28 copy(): Point {
29 return new Point(this.x, this.y);
30 }
31
32 /**
33 * Checks if two points are equal.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected