Range.isTessellatedBy

Predicate that checks whether the provided array of ranges exactly tessellates this range. The term "tessellation" means that this range is a union of the given ranges and that the given ranges form a contiguous chain without gap or overlap.

It is assumed that the array is already sorted.

struct Range(T)
bool
isTessellatedBy

Parameters

ranges This[]

a sorted array of This!T

Return Value

Type: bool

true if this instance is tessellated by the given array of ranges, false otherwise

Meta