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

Method sizeEquals

packages/react-stately/src/virtualizer/Rect.ts:153–155  ·  view source on GitHub ↗
(size: Size | Rect)

Source from the content-addressed store, hash-verified

151 }
152
153 sizeEquals(size: Size | Rect): boolean {
154 return this.width === size.width && this.height === size.height;
155 }
156
157 /**
158 * Returns the union of this Rect and another.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected