Appearance
function Rect.width(rect: Rect): number
Gets the width of a rectangle.
Rect.width({ left: 10, top: 20, width: 100, height: 50 }); // 100
pipe({ left: 10, top: 20, width: 100, height: 50 }, Rect.width()); // 100