add modules

This commit is contained in:
OpportunityLiu
2020-03-20 20:40:54 +08:00
Unverified
parent 81726402f6
commit 755d0b485b
79 changed files with 6101 additions and 4 deletions
+7
View File
@@ -0,0 +1,7 @@
const Range = require('../classes/range')
const intersects = (r1, r2, options) => {
r1 = new Range(r1, options)
r2 = new Range(r2, options)
return r1.intersects(r2)
}
module.exports = intersects