source: trip-planner-front/node_modules/semver/ranges/intersects.js@ 571e0df

Last change on this file since 571e0df was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 201 bytes
Line 
1const Range = require('../classes/range')
2const intersects = (r1, r2, options) => {
3 r1 = new Range(r1, options)
4 r2 = new Range(r2, options)
5 return r1.intersects(r2)
6}
7module.exports = intersects
Note: See TracBrowser for help on using the repository browser.