--- title: rangeIntersection status: published category: primitives group: Function author: api date: 06/23/2023 order: 72 ---Public Function Finds the intersection of two ranges. ##### Parameters `a0` ```ts number ``` The start point in the A range `a1` ```ts number ``` The end point in the A range `b0` ```ts number ``` The start point in the B range `b1` ```ts number ``` The end point in the B range ##### Returns ```ts [number, number] | null ``` The intersection of the ranges, or null if no intersection