Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 751 Bytes

nifty-tou.intrange.canmergewith.md

File metadata and controls

28 lines (16 loc) · 751 Bytes

Home > nifty-tou > IntRange > canMergeWith

IntRange.canMergeWith() method

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;

Parameters

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