https://github.com/Turfjs/turf/blob/c952c44a25cb9ceba82f140b2b0407d8484afac4/packages/turf-line-intersect/index.ts#L116-L121 the function will always return null after denom === 0, the if `(numeA === 0 && numeB === 0) {` comparison is either useless or should be outside the if
turf/packages/turf-line-intersect/index.ts
Lines 116 to 121 in c952c44
the function will always return null after denom === 0, the if
(numeA === 0 && numeB === 0) {comparison is either useless or should be outside the if