Home > nifty-tou > IntRange > canMergeWith
Test if this range could be merged with another range.
Two ranges can be merged if they are either adjacent to or intersect with each other.
Signature:
canMergeWith(o: IntRange): boolean;
Parameter | Type | Description |
---|---|---|
o | IntRange | the range to test |
Returns:
boolean
true
if this range is either adjacent to or intersects with the given range