intersects.js 201 B

1234567
  1. const Range = require('../classes/range')
  2. const intersects = (r1, r2, options) => {
  3. r1 = new Range(r1, options)
  4. r2 = new Range(r2, options)
  5. return r1.intersects(r2)
  6. }
  7. module.exports = intersects