finki-main
main
|
Last change
on this file since 06ebe74 was 81bc7da, checked in by Klimentina Efremova <klimentina08642@…>, 3 months ago |
|
Initial commit
|
-
Property mode
set to
100644
|
|
File size:
224 bytes
|
| Rev | Line | |
|---|
| [81bc7da] | 1 | 'use strict'
|
|---|
| 2 |
|
|---|
| 3 | const Range = require('../classes/range')
|
|---|
| 4 | const intersects = (r1, r2, options) => {
|
|---|
| 5 | r1 = new Range(r1, options)
|
|---|
| 6 | r2 = new Range(r2, options)
|
|---|
| 7 | return r1.intersects(r2, options)
|
|---|
| 8 | }
|
|---|
| 9 | module.exports = intersects
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.