Skip to content

Api > Rect > Operator ( Rect == Rect )


Operator ( Rect == Rect )⚓︎

Returns true if the rectangles are the same.

LHS Type Symbol RHS Type Result Type
Rect == Rect boolean

Usage⚓︎

---@type Rect
local lhs;

---@type Rect
local rhs;

local result = lhs == rhs; -- result is boolean