A Swift implementation of Rampart that determines how intervals relate to each other.
import Rampart
(2 ... 4).relate(to: 3 ... 5) // => overlaps
.package(url: "https://github.com/woxtu/swift-rampart.git", from: "1.0.0")
Licensed under the MIT license.