in src/shapes/shapes.ts [74:77]
export function equals(rect: IRect, other: IRect): boolean {
return other !== undefined && other !== null &&
rect.left === other.left && rect.top === other.top && rect.width === other.width && rect.height === other.height;
}