struct Range(B, E)
- Range(B, E)
- Struct
- Value
- Object
Overview
https://github.com/crystal-lang/crystal/pull/17081
Included Modules
- Enumerable(B)
- Iterable(B)
Defined in:
ext/crystal/range.crInstance Method Summary
-
#overlaps?(other : Range) : Bool
Returns
trueif this range and other have at least one value in common.