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

Method isOrigin

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

* Returns true if this point is the origin.

()

Source from the content-addressed store, hash-verified

40 * Returns true if this point is the origin.
41 */
42 isOrigin(): boolean {
43 return this.x === 0 && this.y === 0;
44 }
45}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected