Rope.isBalanced

struct Rope
const nothrow
bool
isBalanced
(
int maxDistance = 3
)

Parameters

maxDistance int

Maximum allowed depth difference

Return Value

Type: bool

True if the rope is fairly balanced.

Meta