source:
trip-planner-front/node_modules/semver/ranges/intersects.js@
ceaed42
Last change on this file since ceaed42 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.