rangeIntersection
Public Function
Finds the intersection of two ranges.
Parameters
| Name | Description | 
|---|---|
| 
 | The start point in the A range | 
| 
 | The end point in the A range | 
| 
 | The start point in the B range | 
| 
 | The end point in the B range | 
Returns
[number, number] | null
The intersection of the ranges, or null if no intersection