source:
trip-planner-front/node_modules/semver/ranges/intersects.js@
84d0fbb
Last change on this file since 84d0fbb was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 201 bytes |
Rev | Line | |
---|---|---|
[6a3a178] | 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 |
Note:
See TracBrowser
for help on using the repository browser.